initial commit

This commit is contained in:
2026-02-12 00:45:31 -08:00
commit 5f168f370b
3024 changed files with 804889 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
// g++ --std=c++11 test.cpp
#include "test.h"
#include "test.h"
#include "FastLED.h"
#define NUM_LEDS 1000
#define DATA_PIN 2
#define CLOCK_PIN 3
TEST_CASE("Simple") {
static CRGB leds[NUM_LEDS]; // Use static to avoid global constructor warning
FastLED.addLeds<APA102, DATA_PIN, CLOCK_PIN, BGR>(leds, NUM_LEDS);
}
TEST_CASE("Fill Gradient SHORTEST_HUES") {
static CRGB leds[NUM_LEDS];
fill_gradient(leds, 0, CHSV(0, 255, 255), NUM_LEDS - 1, CHSV(96, 255, 255), SHORTEST_HUES);
}