ab2c1b34b4
- Rename all show .txt files with NNN_ numeric prefix so order is explicit and controlled by filename (001_heartbeat_red through 006_party) - Drop HOME_SHOW special-casing from convert_all.py; show 0 is simply the lowest-numbered file - Add SHOW_FLAG_SPARKLE support: shows can declare '// flags: sparkle' to overlay random white flashes on top of the base color each frame - Wire sparkle into led_controller and config.h (SPARKLE_CHANCE/FRAMES) - Replace old placeholder/example shows with the six production shows Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
1.4 KiB
C
34 lines
1.4 KiB
C
// =====================================================================
|
|
// shows.h — Master show index.
|
|
// Generated by: make shows (converter/convert_all.py)
|
|
// Do not edit manually — add NNN_<name>.txt files to converter/shows/ instead.
|
|
// =====================================================================
|
|
//
|
|
// Show 0 is the lowest-numbered .txt file (home/reset show).
|
|
// 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_001_heartbeat_red.h"
|
|
#include "show_002_heartbeat_breathe.h"
|
|
#include "show_003_blue_sparkle.h"
|
|
#include "show_004_pulse_yellow.h"
|
|
#include "show_005_green_static.h"
|
|
#include "show_006_party.h"
|
|
|
|
// ---- Show index (PROGMEM) ----------------------------------------------
|
|
const ShowDef SHOWS[] PROGMEM = {
|
|
{SHOW_001_HEARTBEAT_RED, SHOW_001_HEARTBEAT_RED_LENGTH, SHOW_SINGLE, 0}, // 0 — home show
|
|
{SHOW_002_HEARTBEAT_BREATHE, SHOW_002_HEARTBEAT_BREATHE_LENGTH, SHOW_LOOP, 0}, // 1
|
|
{SHOW_003_BLUE_SPARKLE, SHOW_003_BLUE_SPARKLE_LENGTH, SHOW_LOOP, SHOW_FLAG_SPARKLE}, // 2
|
|
{SHOW_004_PULSE_YELLOW, SHOW_004_PULSE_YELLOW_LENGTH, SHOW_LOOP, 0}, // 3
|
|
{SHOW_005_GREEN_STATIC, SHOW_005_GREEN_STATIC_LENGTH, SHOW_LOOP, 0}, // 4
|
|
{SHOW_006_PARTY, SHOW_006_PARTY_LENGTH, SHOW_SINGLE, 0}, // 5
|
|
};
|
|
|
|
const uint8_t SHOW_COUNT = 6;
|