void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(D15, INPUT);
pinMode(D2, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
digitalWrite(D15, HIGH);
digitalWrite(D2, LOW);
delay(1000);
digitalWrite(D15, LOW);
digitalWrite(D2, HIGH);
}