first commit
This commit is contained in:
commit
5893b00dd2
1669 changed files with 1982740 additions and 0 deletions
21
libraries/FastLED/tests/test_fastled.cpp
Normal file
21
libraries/FastLED/tests/test_fastled.cpp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
// 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);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue