A small Arduino sketch to control a spinning wheel