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

Committer:
wd5gnr
Date:
Thu Dec 29 19:49:50 2016 +0000
Revision:
1:126964580159
Parent:
0:3e6a4dfbcb88
Made PWM output faster

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wd5gnr 0:3e6a4dfbcb88 1 http://mbed.org/users/charly/code/mRotaryEncoder/#2502b829d452