
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
mbed.bld
- Committer:
- wd5gnr
- Date:
- 2016-12-29
- Revision:
- 1:126964580159
- Parent:
- 0:3e6a4dfbcb88
File content as of revision 1:126964580159:
http://mbed.org/users/mbed_official/code/mbed/builds/9baf128c2fab