#include <Arduino.h>
//#include <Adafruit_NeoPixel.h>
#define PIN 2 //RGB_BUILTIN
#define LEDS 1
//Adafruit_NeoPixel pixel(LEDS, PIN, NEO_GRB+NEO_KHZ800);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32-C3!");
Serial.println(RGB_BUILTIN);
//pixel.begin();
//pixel.clear();
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
neopixelWrite(PIN, 255, 0, 0);
// pixel.setPixelColor(0, 0xFF0000);
// pixel.show();
delay(500);
neopixelWrite(PIN, 0, 255, 0);
// pixel.setPixelColor(0, 0);
// pixel.show();
delay(500);
}