Start a new topic

Nextion and Boolean Operators

 Hello,

if (var.val >= 10 && var.val <= 20){}   // true if a is between 10 and 20

How do I do this with the Nextion?

Greeting and thanks
Andreas


edit:

 if (var.val >= 10 && var.val <= 20){}   // true if var.val is between 10 and 20

Greeting and thanks
Andreas

use nested if statements instead of one ...

 

Login or Signup to post a comment