* Create `nspanel_us_land.tft' Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel. Hides the hardware buttons labels, as Nextion cannot support rotated text. * Created `nspanel_us_land.tft` * Created `nspanel_us_land.tft` solves #390 solves #432 solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716 * Created `nspanel_us_land.tft` * Created `nspanel_us_land.tft`
449 B
449 B
Creating nspanel_us_land.hmi from nspanel_eu.hmi:
Program.s:
Comment out lcd_dev fffb 0002 0000 0020
Page home:
Change left_bt_pic (x,y,w,h) from ( 47,307,120,3) to (467,173,3,120) Change right_bt_pic(x,y,w,h) from (288,307,120,3) to (467, 27,3,120)
Rotate pictures 77 & 78 by 90degrees
Add the following to "Preinitialize Event" on page home (at the end) to hide those elements:
vis left_bt_text,0
vis right_bt_text,0