// 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?
LiquidCrystal lcd(12,11, 5, 4, 3, 2); // Ekranın pinleri sırasıyla Arduino üzerindeki 12,11,5,4,3,2 numaralı pinlere takılı. const int LED=9; // Led'in ...