void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32-S3!");
}
void loop() {
int myInt;
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
while (Serial.available()== 0){
}
myInt = Serial.parseInt();
switch (myInt){
case 1:
Serial.print("The choice was :");
Serial.println(myInt);
myInt = 0;
case 0:
default:
Serial.print(("No correct Menu choice: "));
Serial.println(myInt);
}
}