What will be printed on the serial monitor?
Note:- nothing is connected to ESP32
void setup() { } void loop() { int buttonState = digitalRead(2); Serial.println(buttonState); }
0
1
randomly 0 or 1
HIGH
LOW