Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.02 KB

File metadata and controls

41 lines (25 loc) · 1.02 KB

ArduinoRotaryEncoderLED

Arduino code for RGB LED lights managed by a knob switch / button (rotary encoder)


 The code features 9 modes of color coice: white, blue, red, green, blend all RGB / custom shade, red dim, green dim, blue dim, purple dim.

 Each color can be adjusted by turning the knob to adjust the value by bits for each color.

Mode Functions:


 Zero: all LEDs set to bright white

 One: green to blue range

 Two: blue to red range

 Three: red to green range

 Four: custom color picker / all colors

 Five: red dimmable range

 Six: green dimmable range

 Seven: blue dimmable range

 Eight: purple dimmable range

Rotary Switch / Encoder Functions:


 Button Press: changes modes

 Knob Twisting: adjusts hue and brightness on dimmables

Future Additions:


- breathing / pulsating animations
- flash animations
- time adjustable modes
- other button types integration