LED Lighting Control By K4 - A Multithreaded, GUI Enabled, WS281x Controller written in C++
Designed for the purpose of controlling custom lights in a vehicle
Supports RPI4B OOTB
- Multithreaded
- GUI Enabled
- Thread Interruption
- Basic Animation Examples
Compile
1.) Clone this project
2.) Clone RPI WS281x and compile it as per the instructions in the repo
3.) Make sure the includes in main.cpp
pick up the WS281x repo
4.) Modify PWM Channels if needed
5.) Compile and have fun
Download
1.) Download the precompiled binary HERE
2.) Run and have fun
-
2 PWM Channels (0 and 1) (Pin 18/19)
-
3 Input Pins (GPIO 17, 27, 22)
-
Supports SK6812/WS2811/WS2812
-
NOTE: GUI HAS NOT BEEN ADDED YET, STILL WIP
Release v0.3
- Changed delay
- Changed brightness
Release v0.2
- Implemented input handling (GPIO 17, 27, 22)
- Added braking / braking + indicating animations (Mode 2, 25)
- Improved cleanup
- Fixed shutdown and led halt
- Implemented mode handling (Desired and Running)
- Improvements to animations
- Fixed some issues with channel 1
- Other fixes and tweaks