// Example of a simple IF / ELSEIF /ELSE statement. // Change the value of "x" above and rerun code to see which of // the IF, ELSEIF and ELSE statement based on what value of "x" is.
Making time for my next small Arduino project, I need to do something with the rotary encoder direction information decoded by this software. A state machine is what I need, but how to implement it?
if(butstate1 == HIGH) //buton 1 e bastığımızda sadece led1 yanar. digitalWrite(led1,HIGH); //buton 2 ye bastığımızda sadece led2 yanar. else if ( butstate2 ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results