#define NUM_LEDS (11*23)
#define DATA_PIN 13
#include <FastLED.h>
CRGB leds[NUM_LEDS];
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
// Проверка ориентации и цветов
for (int i = 0; i < NUM_LEDS; i++) {
if (i < (NUM_LEDS / 3))
leds[i] = CRGB::Red;
else if (i < (NUM_LEDS * 2 / 3))
leds[i] = CRGB::Green;
else
leds[i] = CRGB::Blue;
FastLED.show();
delay(50);
}
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}