void setup() {
int switchcase;
switchcase=digitalRead(4);
if(switchcase=1)
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(26,OUTPUT);
pinMode(25,OUTPUT);
pinMode(27,OUTPUT);
Serial.println("Hello, ESP32!");
}
void loop() {
digitalWrite(26,HIGH);
digitalWrite(25,HIGH);
digitalWrite(27,HIGH);
// put your main code here, to run repeatedly:
delay(1000); // this speeds up the simulation
}