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?
// 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.
There are ways to use Arduino as TTL converter. For instance, you can remove Atmel chip from your board (if it's not soldered) or connect RST to GND. However none of that has worked for me to connect ...