void setup() {
Serial.begin(115200);
Serial.print("Neopixel-GPIO is ");
Serial.println(PIN_NEOPIXEL);
}
void loop() {
neopixelWrite(PIN_NEOPIXEL, 255,0,0);
delay(500);
neopixelWrite(PIN_NEOPIXEL, 0,255,0);
delay(500);
neopixelWrite(PIN_NEOPIXEL, 0,0,255);
delay(500);
}
Loading
esp32-c3-devkitm-1
esp32-c3-devkitm-1