imported from "final" folder

This commit is contained in:
2025-11-28 12:12:50 +01:00
parent f9288986cf
commit ff8e725b35
1061 changed files with 225150 additions and 96 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);
}