Digole
Digital Solutions
iDigole Buyer ProtectioniDigole Buyer
Protection
My shopping cart
0 Items:
Secure Checkout
Top Rated Plus
Visit Our Live Auctions
99.9% Customer's Satisfaction
 
Forum : Digole Serial Display :

 Search Forum.. 
 Creat New Topic   Reply 

Welcome Screen Command Set Question for Firmware >= 3.2

 In the newer firmwares (3.2 and higher) which removed the 2-byte size at the start of the Command Set for the OLED Welcome Screen, there now needs to be a 0xFF at the end to signal the end-of-command-set.

My question is around other 0xFF's in the Command Set, will that mess up the firmware now? I have Command Sets that draw 8-bit images, which do have some white pixels (i.e. 0xFF). I also clear the background to white by setting the color register to 0xFF. I don't have my 3.4 OLED panel yet, but do you need to avoid having 0xFF in any Command Set outside of the last character?

Thanks.

Brett

RE:Welcome Screen Command Set Question for Firmware >= 3.2

 If the 0XFF belong to a command, the module will treat it as data, only extra 0XFF's indicate the end of command set.

eg.: "TT\xFF\x00", this 0XFF is data, but:

"TT\x00\xFF", this 0XFF is end indicater, because 0X00 ended "TT" command, and the following 0XFF is an extra value.

RE:Welcome Screen Command Set Question for Firmware >= 3.2

 Wonderful! Thanks!

B

Copyright Digole Digital Solutions, 2008-2017. All rights reserved.
Powered by Victor Sun