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.
Permalink
Failed to load latest commit information.
android/Application
headboard
.gitignore
README.md

README.md

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

lumos;

Set LEDs to warm white over 1 second

nox;

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

rgb;

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.

party

Not yet implemented