Im new to arduino and i want to create some kind of encrypting system, but i cant find a way to check if a variable is this or this.
if (yourVar == 1 || yourVar == 2)
{
...
...
}
'||' is OR, '&&' is AND
Oh. My. God.
THANKS!
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.