// set pin numbers
const int buttonPin = 16; // the number of the pushbutton pin
const int ledPin = 17; // the number of the LED pin
// variable for storing the pushbutton status
int buttonState = 0;
// initialize the pushbutton pin as an input
pinMode (buttonPin, INPUT);
// initialize the LED pin as an output
pinMode (ledPin, OUTPUT);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}