No description, website, or topics provided.
Java C++ Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

LED sunrise headboard project

Arduino project to control an RGB LED string using PWM from the ATMega328P and a MOSFET circuit per channel. The Arduino accepts Bluetooth commands via HC-05 module.

Current status: sunrise emulation is functional. TODO: implement a light show mode for fun.

Serial API


Set LEDs to warm white over 1 second


Set LEDs to off over 1 second

sunrise t;

Go through sunrise routine over t seconds

set r g b [t];

Set the LEDs to the provided r, g, b floats between 0 and 1

Optionally fade over t seconds


Print the current r, g, b values to serial. Useful for debugging via Arduino Serial Monitor. Requires the HEADBOARD_ASM_DEBUG flag to be set in code before compilation.


Not yet implemented