Hello, I want to control some WS2812B LED lights with an ESP32, but I get this error "static assertion failed: Invalid pin specified". I'm using pin 35 on the ESP32. Here is my code:
#include <Arduino.h>
#include <FastLED.h>
CRGB leds[1];
void setup()
{
FastLED.addLeds<WS2812B, 35, GRB>(leds, 18);
FastLED.setBrightness(255);
leds[0] = CRGB::Red;
FastLED.show();
}
void loop()
{
}
Thanks.