Start a new topic
Solved

Decimal Background Color Incorrect..

Correct me if I'm wrong, but if I add a button in Nextion and select bco and choose white for instance it displays 65535 for its decimal value.. Now, In Hex White should be FFFFFF, in RGB it should be 255,255,255. And in decimal should it not display 16777215. if I send a command to change the color to 65535 from an Arduino nothing happens...


In Hex White should be FFFFFF, in RGB it should be 255,255,255.

The Nextion use color codes with 16 bits, not 24 bits.

See also this thread: http://support.iteadstudio.com/support/discussions/topics/1000058748 


if I send a command to change the color to 65535 from an Arduino nothing happens...

Maybe you need to send "ref b0" to refresh the component.

ya, I noticed that after I posted, that's why I already marked it as solved.. but thanks for the reply..

 

Login or Signup to post a comment