Arduino pwm rotary encoder. For now the code can just read off to the serial monitor.