This is the firmware for the RGB LED project. You can also find it on Github and Hackster.
The firmware is based on the Arduino framework to make it easier for beginners.
The main entry point can be found at src/src.ino
.
The file includes all the different available effects.
You can choose one of the effects by setting the effects
variable:
static const Effect effect = HSIControl;
If you want to see a very simple effect for reference, take a look at
src/effect_rgb_control.cpp
.
In case you add new effects, pull requests are welcome!
When using the Arduino IDE instead, simply open all file in the src
directory, and flash the src.ino
file to the Arduino. See
https://www.arduino.cc/en/Guide/HomePage for more information.
If you want to use Make
and the provided arduino-makefile instead, do this:
git submodule init
git submodule update
make
make upload
MIT License.