I am working on Nextiob 7inch tft. I was try to use if clauses like,
if(b0.val>0 && b0.val<9)
and this if doesn't work. It is basic c code. How can this code work ?
It can not work.
Nextion is not a C compiler, Basic C or otherwise.
Nextion has an instruction Set
- best to think of the instructions as short cuts
- but just like programming, their order can create amazing effects.
But didn't you even bother to read the Nextion Instruction Set?
- you would have surely seen why it doesn't work if you had.