Skip to content

StandardColors.ino

Arnd edited this page Dec 11, 2020 · 3 revisions

Arduino sketch to demonstrate how the 3-LED pushbutton rotary encoder can be used.

Compatibility

While developed and tested using an Arduino micro, this should work on all Atmel-based Arduino systems.

Function

This sketch sets up the rotary encoder with hardware settings as above in the sample breadboard. The device is set to turn fade after changes and show a different color for turning clockwise, counterclockwise and for button push.