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

Embed: (wiki syntax)

« Back to documentation index

File Index

File List

Here is a list of all documented files with brief descriptions:
main.cpp [code]