Serial Display emulator New Display User manual
How to use the full width of the 4.3" display in landscape?
Please use following function to send pixel's positoin larger than 480:
write2B(unsigned int v) {
unsigned char tmp;
if(v>=255)
{
write(255);
if(v>480) //for position larger than 480, use 3 bytes
tmp=v/256;
write(226+tmp);
tmp=v%256;
write(tmp);
}
else //for position in 255 to 480, use 2 bytes
write(v - 255);
else //for position less than 255, use 1 bytes
write(v);