5#if !defined(__IMXRT1062__)
13#include "third_party/object_fled/src/ObjectFLED.h"
17#define NUM_LEDS_PER_STRIP 1
19byte pinList[NUM_CHANNELS] = {1};
20CRGB leds[NUM_CHANNELS * NUM_LEDS_PER_STRIP];
21ObjectFLED driver(NUM_CHANNELS * NUM_LEDS_PER_STRIP, leds, CORDER_RGB, NUM_CHANNELS, pinList);
25 driver.begin(1.0, 250);
30void blink(
CRGB color,
int times) {
31 for (
int i = 0; i < times; i++) {
32 fill_solid(leds, NUM_CHANNELS * NUM_LEDS_PER_STRIP, color);
42 Serial.println(
"Blinking...");
central include file for FastLED, defines the CFastLED class/object
void fill_solid(struct CRGB *targetArray, int numToFill, const struct CRGB &color)
Fill a range of LEDs with a solid color.
Representation of an RGB pixel (Red, Green, Blue)