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>
30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
// =====================================================================
|
|
// shows.h — Master show index.
|
|
// Generated by: make shows (converter/convert_all.py)
|
|
// Do not edit manually — add .txt files to converter/shows/ instead.
|
|
// =====================================================================
|
|
//
|
|
// Show 0 is always the home/reset show (slow blue pulse).
|
|
// Holding the button resets back to show 0.
|
|
//
|
|
// SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
#pragma once
|
|
#include "lightshow_format.h"
|
|
|
|
// ---- Individual show data ----------------------------------------------
|
|
#include "show_blue_pulse.h"
|
|
#include "show_example_fade.h"
|
|
#include "show_example_party.h"
|
|
#include "show_example_pulse.h"
|
|
|
|
// ---- Show index (PROGMEM) ----------------------------------------------
|
|
const ShowDef SHOWS[] PROGMEM = {
|
|
{SHOW_BLUE_PULSE, SHOW_BLUE_PULSE_LENGTH}, // 0 — home show
|
|
{SHOW_EXAMPLE_FADE, SHOW_EXAMPLE_FADE_LENGTH}, // 1
|
|
{SHOW_EXAMPLE_PARTY, SHOW_EXAMPLE_PARTY_LENGTH}, // 2
|
|
{SHOW_EXAMPLE_PULSE, SHOW_EXAMPLE_PULSE_LENGTH}, // 3
|
|
};
|
|
|
|
const uint8_t SHOW_COUNT = 4;
|