SmartGPU2-LCD480X320Touch-CommandSet

SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 16
2.2 Master Commands
Briefly Summary of Commands in this section:
*All of Those next commands always begin with the byte M’-4Dhex,
as they are Master commands, followed by the next parameters/bytes.
Erase Screen 45hex ‘E’
Set Erase Background Colour 43hex ‘C’
Display Orientation 4Fhex ‘O’
Display Brightness 42hex ‘B’
BaudRate Change 58hex ‘X’
• Sleep 5Ahex ‘Z’
• Calibrate Touch 54hex ‘T
• Software Reset 52hex ‘R
The colour parameter needed on the Set Erase Background Colour command,
consist of 16bits (2 bytes) RGB565:
R4R3R2R1R0G5G4G3 G2G1G0B4B3B2B1B0
That is:
5bits for red, 6 bits for green, 5bits for blue.
High byte colour: R4R3R2R1R0G5G4G3
Low byte colour: G2G1G0B4B3B2B1B0