Show Extended Code on String Element
From Smart LCD
background
For some of the countries, they commonly use specific kind of character form external code page. Smart LCD can provide various Countries Code and External Code Pages with String Element
how to
- built font, select Font Setting --> Font Config <2>
- select Externed codepage
note. Some of the font face may not provide all the extended char, check before select it.
- Config the codepage in project setting codepage
- Code page can be config by sys_reg (System Registers[0xFFFF30] := 4 for 860 OEM Portuguese)
- Code page can be config by command Set_codepage (0xE7)
- Select the corresponding font for String Element with VP_STR[0x000100]
- In case of displaying Portuguese, the relationship can see in the build font panel
- Use Command Tools to send command
- AA E7 01 04 CC 33 C3 3C (for Country Code=USA , Extended Code Page=PC860
- AA 42 00 00 01 00 50 6F 72 74 75 67 75 65 73 65 00 CC 33 C3 3C (send some basic ASCII char ("Portuguese")
- AA 42 00 00 01 00 80 81 82 83 A0 A1 A2 A3 00 CC 33 C3 3C (send some extended code page char to be shown)
downloads
nil

