11eb2584ef
Arduino Uno + WS2812B LED strip controller with a text-based lightshow system. Shows are defined as .txt files (hex color + fade duration per step), converted to PROGMEM headers by convert_all.py, and navigated at runtime via a debounced button (tap/double-tap/hold). BSD 2-Clause license. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
580 B
C
17 lines
580 B
C
// Generated by convert_all.py from: example_fade.txt
|
|
// Do not edit manually — edit the .txt file and run: make shows
|
|
// SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
#pragma once
|
|
#include "lightshow_format.h"
|
|
|
|
const Step SHOW_EXAMPLE_FADE[] PROGMEM = {
|
|
{255, 0, 0, 0}, // #FF0000, 0ms
|
|
{ 0, 255, 0, 3000}, // #00FF00, 3000ms
|
|
{ 0, 0, 255, 0}, // #0000FF, 0ms
|
|
{255, 0, 255, 2000}, // #FF00FF, 2000ms
|
|
{255, 128, 0, 1000}, // #FF8000, 1000ms
|
|
{ 0, 0, 0, 5000}, // #000000, 5000ms
|
|
};
|
|
const uint16_t SHOW_EXAMPLE_FADE_LENGTH = 6;
|