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

mRotaryEncoder.lib

Committer:
wd5gnr
Date:
2016-12-29
Revision:
1:126964580159
Parent:
0:3e6a4dfbcb88

File content as of revision 1:126964580159:

http://mbed.org/users/charly/code/mRotaryEncoder/#2502b829d452