sTodo-m5paper-client/libraries/FastLED/tests/test_fastled.cpp
2025-06-30 20:47:33 +02:00

21 lines
320 B
C++

// g++ --std=c++11 test.cpp
#include "test.h"
#include "test.h"
#include "FastLED.h"
#include "fl/namespace.h"
FASTLED_USING_NAMESPACE
#define NUM_LEDS 1000
#define DATA_PIN 2
#define CLOCK_PIN 3
CRGB leds[NUM_LEDS];
TEST_CASE("Simple") {
FastLED.addLeds<APA102, DATA_PIN, CLOCK_PIN, BGR>(leds, NUM_LEDS);
}