Added rotaryEncoder.js