Simple example of using a rotary encoder to drive an RGB LED. At first, you can control the brightness of the red LED. Push the encoder shaft in and you can then control green. Push again to control blue. Then it repeats.

Dependencies:   mRotaryEncoder mbed

Changes

RevisionDateWhoCommit message
1:126964580159 2016-12-29 wd5gnr Made PWM output faster default tip
0:3e6a4dfbcb88 2016-12-29 wd5gnr Initial comming