#define AH_PB 23
#define AL_PB 22
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(23, INPUT);
pinMode(22, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
// this speeds up the simulation
Serial.print(digitalRead(AH_PB));
Serial.print(' ');
Serial.println(digitalRead(AL_PB));
Serial.print(" ");
delay(100);
}