Added rotary encoder sketch