
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@1:126964580159, 2016-12-29 (annotated)
- 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?
User | Revision | Line number | New contents of line |
---|---|---|---|
wd5gnr | 0:3e6a4dfbcb88 | 1 | http://mbed.org/users/charly/code/mRotaryEncoder/#2502b829d452 |