Start a new topic

Nextion updating colour text depending decimal value

Hello all, I am trying to display a decimal value. I know that Nextion is an integer device so the only way to display a decimal number sending the value like a text. So far so good but what happen if you want display the number with different colours depending the tolerance? Let me put an example: If an arduino is sending a value with 3 volt it would be displayed like 3.5v in green colour but if it is sending less than 3.1v it would displayed in yellow. If it is sending 3.9v or more it would be displayed in red. Any help is welcome. Many thanks team
1 Comment

 Happy Chinese New Year

This forum is closed Nov 15, 2017.
May your luck be better at new forum