void setup() {
pinMode(4, OUTPUT);
pinMode(2, OUTPUT);
pinMode(16, OUTPUT);
pinMode(17, OUTPUT);
pinMode(19, OUTPUT);
pinMode(18, OUTPUT);
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
}
void loop() {
digitalWrite(4, HIGH); // put your main code here, to run repeatedly:
delay(400); // this speeds up the simulation
digitalWrite(4, LOW);
delay(400);
digitalWrite(2, HIGH); // put your main code here, to run repeatedly:
delay(350); // this speeds up the simulation
digitalWrite(2, LOW);
delay(350);
digitalWrite(16, HIGH); // put your main code here, to run repeatedly:
delay(350); // this speeds up the simulation
digitalWrite(16, LOW);
delay(350);
digitalWrite(17, HIGH);
delay(350); // put your main code here, to run repeatedly:// this speeds up the simulation
digitalWrite(17, LOW);
delay(350);
digitalWrite(19, HIGH);
delay(350);
digitalWrite(19, LOW);
delay(350);
digitalWrite(18, HIGH);
delay(350);
digitalWrite(18, LOW);
delay(350);
}