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>
28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
// Generated by convert_all.py from: example_party.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_PARTY[] PROGMEM = {
|
|
{255, 0, 0, 0}, // #FF0000, 0ms
|
|
{255, 0, 0, 150}, // #FF0000, 150ms
|
|
{255, 136, 0, 0}, // #FF8800, 0ms
|
|
{255, 136, 0, 150}, // #FF8800, 150ms
|
|
{255, 255, 0, 0}, // #FFFF00, 0ms
|
|
{255, 255, 0, 150}, // #FFFF00, 150ms
|
|
{ 0, 255, 0, 0}, // #00FF00, 0ms
|
|
{ 0, 255, 0, 150}, // #00FF00, 150ms
|
|
{ 0, 255, 255, 0}, // #00FFFF, 0ms
|
|
{ 0, 255, 255, 150}, // #00FFFF, 150ms
|
|
{ 0, 0, 255, 0}, // #0000FF, 0ms
|
|
{ 0, 0, 255, 150}, // #0000FF, 150ms
|
|
{255, 0, 255, 0}, // #FF00FF, 0ms
|
|
{255, 0, 255, 150}, // #FF00FF, 150ms
|
|
{255, 255, 255, 0}, // #FFFFFF, 0ms
|
|
{255, 255, 255, 150}, // #FFFFFF, 150ms
|
|
{ 0, 0, 0, 500}, // #000000, 500ms
|
|
};
|
|
const uint16_t SHOW_EXAMPLE_PARTY_LENGTH = 17;
|