#include "FastLED.h"
#include <FastLED.h>
#define NUM_LEDS_PER_STRIP 60
#if defined(ESP32)
#if defined(CONFIG_IDF_TARGET_ESP32C3)
#define PIN_1 2
#define PIN_2 3
#define PIN_3 4
#define PIN_4 5
#elif defined(CONFIG_IDF_TARGET_ESP32S3)
#define PIN_1 1
#define PIN_2 2
#define PIN_3 3
#define PIN_4 4
#elif defined(CONFIG_IDF_TARGET_ESP32C6)
#define PIN_1 2
#define PIN_2 3
#define PIN_3 4
#define PIN_4 5
#elif defined(CONFIG_IDF_TARGET_ESP32C5)
#define PIN_1 3
#define PIN_2 4
#define PIN_3 5
#define PIN_4 8
#elif defined(CONFIG_IDF_TARGET_ESP32H2)
#define PIN_1 0
#define PIN_2 1
#define PIN_3 4
#define PIN_4 5
#elif defined(CONFIG_IDF_TARGET_ESP32C2)
#define PIN_1 0
#define PIN_2 1
#define PIN_3 2
#define PIN_4 3
#else
#define PIN_1 13
#define PIN_2 14
#define PIN_3 15
#define PIN_4 16
#endif
#elif defined(ARDUINO_ARCH_RP2040)
#define PIN_1 10
#define PIN_2 11
#define PIN_3 12
#define PIN_4 13
#elif defined(__IMXRT1062__)
#define PIN_1 2
#define PIN_2 3
#define PIN_3 4
#define PIN_4 5
#elif defined(__MK66FX1M0__) || defined(__MK64FX512__)
#define PIN_1 2
#define PIN_2 3
#define PIN_3 4
#define PIN_4 5
#else
#define PIN_1 4
#define PIN_2 5
#define PIN_3 6
#define PIN_4 7
#endif
}
delay(100);
}
}
}
#define NUM_LEDS_PER_STRIP
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
void delay(u32 ms, bool run_async=true) FL_NOEXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
@ Red
<div style='background:#FF0000;width:4em;height:4em;'></div>
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>