Rotary Encoding, untested, compiled for Uno
Trying to get the rotary encoder to work properly.  This approach might not be fast enough
moving to using an encoder library, untested
Encoder is working