int led_red = 5;
int led_green = 2;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(led_red, OUTPUT);
pinMode(led_green, OUTPUT);
}
void loop() {
digitalWrite(led_red, HIGH);
delay(2000);
digitalWrite(led_red, LOW);
digitalWrite(led_green, HIGH);
delay(2000);
digitalWrite(led_red, HIGH);
digitalWrite(led_green, HIGH);
delay(500);
digitalWrite(led_green, LOW);
delay(500);
digitalWrite(led_green, HIGH);
delay(500);
digitalWrite(led_green, LOW);
delay(500);
delay(2000);
// digitalWrite(led_red, LOW);
// digitalWrite(led_green, HIGH);
// delay(2000);
// put your main code here, to run repeatedly:
}