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

Revisions of mRotaryEncoder.lib

Revision Date Message Actions
0:3e6a4dfbcb88 2016-12-29 Initial comming File  Diff  Annotate