The very short version is:
You have to send followed by three bytes with the value 255.
If you have just made a button and not given it a new name it will be something like:Followed by three bytes with the value 255.
All attributes shown in green in the Nextion editor (lower right) can be changed at runtime.
For numbers there are no ".
So to change the backgroundcolour:Followed by three bytes with the value 255.
Take a look at the example i linked to above and https://nextion.tech/instruction-set/
You have to send
Code:
objectname.attributename="new text"
If you have just made a button and not given it a new name it will be something like:
Code:
b0.txt="new text"
All attributes shown in green in the Nextion editor (lower right) can be changed at runtime.
For numbers there are no ".
So to change the backgroundcolour:
Code:
b0.bco=20000
Take a look at the example i linked to above and https://nextion.tech/instruction-set/
Statistics: Posted by Lobo-T — Thu Feb 08, 2024 12:34 pm