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

Download repository: zip gz

Files at revision 1:126964580159

Name Size Actions
mRotaryEncoder.lib 63 Revisions Annotate
main.cpp 1817 Revisions Annotate
mbed.bld 65 Revisions Annotate