40#define FASTLED_USES_ESP32S3_I2S
48#define NUM_LEDS_PER_STRIP 256
49#define NUM_LEDS (NUM_LEDS_PER_STRIP * NUMSTRIPS)
53#define EXAMPLE_PIN_NUM_DATA0 19
54#define EXAMPLE_PIN_NUM_DATA1 45
55#define EXAMPLE_PIN_NUM_DATA2 21
56#define EXAMPLE_PIN_NUM_DATA3 6
57#define EXAMPLE_PIN_NUM_DATA4 7
58#define EXAMPLE_PIN_NUM_DATA5 8
59#define EXAMPLE_PIN_NUM_DATA6 9
60#define EXAMPLE_PIN_NUM_DATA7 10
61#define EXAMPLE_PIN_NUM_DATA8 11
62#define EXAMPLE_PIN_NUM_DATA9 12
63#define EXAMPLE_PIN_NUM_DATA10 13
64#define EXAMPLE_PIN_NUM_DATA11 14
65#define EXAMPLE_PIN_NUM_DATA12 15
66#define EXAMPLE_PIN_NUM_DATA13 16
67#define EXAMPLE_PIN_NUM_DATA14 17
68#define EXAMPLE_PIN_NUM_DATA15 18
75 EXAMPLE_PIN_NUM_DATA0,
76 EXAMPLE_PIN_NUM_DATA1,
77 EXAMPLE_PIN_NUM_DATA2,
78 EXAMPLE_PIN_NUM_DATA3,
79 EXAMPLE_PIN_NUM_DATA4,
80 EXAMPLE_PIN_NUM_DATA5,
81 EXAMPLE_PIN_NUM_DATA6,
82 EXAMPLE_PIN_NUM_DATA7,
83 EXAMPLE_PIN_NUM_DATA8,
84 EXAMPLE_PIN_NUM_DATA9,
85 EXAMPLE_PIN_NUM_DATA10,
86 EXAMPLE_PIN_NUM_DATA11,
87 EXAMPLE_PIN_NUM_DATA12,
88 EXAMPLE_PIN_NUM_DATA13,
89 EXAMPLE_PIN_NUM_DATA14,
90 EXAMPLE_PIN_NUM_DATA15
155 log_d(
"Total heap: %d", ESP.getHeapSize());
156 log_d(
"Free heap: %d", ESP.getFreeHeap());
157 log_d(
"Total PSRAM: %d", ESP.getPsramSize());
158 log_d(
"Free PSRAM: %d", ESP.getFreePsram());
160 log_d(
"waiting 6 seconds before startup");
169 static int s_offset = 0;
170 for (
int j = 0; j < NUMSTRIPS; j++) {
173 all_leds[idx] =
CHSV(i, 255, 255);
#define NUM_LEDS_PER_STRIP
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
LED controller for WS2812 LEDs with GRB color order.
void fill_rainbow(struct CRGB *targetArray, int numToFill, fl::u8 initialhue, fl::u8 deltahue=5)
Fill a range of LEDs with a rainbow of colors.
@ GRB
Green, Red, Blue (0102)
Representation of an RGB pixel (Red, Green, Blue)
Representation of an HSV pixel (hue, saturation, value (aka brightness)).