This commit is contained in:
Edward Firmo
2024-01-07 01:42:41 +01:00
parent 4590c9e1c7
commit 1e65a7ef05

View File

@@ -2,18 +2,18 @@
## Creating `nspanel_us_land.HMI` from `nspanel_eu.HMI` ## Creating `nspanel_us_land.HMI` from `nspanel_eu.HMI`
### Program.s - **Program.s:**
Change to `display_mode=3` - Change to `display_mode=3`
### Page `home` - **Page `home`:**
1. Change left_bt_pic (x,y,w,h) from ( 47,307,120,3) to (467,173,3,120) 1. Change left_bt_pic (x,y,w,h) from ( 47,307,120,3) to (467,173,3,120)
2. Change right_bt_pic(x,y,w,h) from (288,307,120,3) to (467, 27,3,120) 2. Change right_bt_pic(x,y,w,h) from (288,307,120,3) to (467, 27,3,120)
3. Rotate pictures 30 & 31 by 90degrees - You will find the rotated pics under `\dev\ui\us_land\pics` folder. 3. Rotate pictures 30 & 31 by 90degrees - You will find the rotated pics under `\dev\ui\us_land\pics` folder.
## Creating `nspanel_CJK_xxx.HMI` from `nspanel_xxx.HMI` ## Creating `nspanel_CJK_xxx.HMI` from `nspanel_xxx.HMI`
### Program.s - **Program.s:**
Change to `charset=2` - Change to `charset=2`
### Fonts - **Fonts:**
1. Replace `ubuntuXX` fonts by the ones available under `\dev\ui\fonts\CJK` folder. - Replace `ubuntuXX` fonts by the ones available under `\dev\ui\fonts\CJK` folder.