# define BUTTON1 26
# define BUTTON2 27
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(BUTTON1, INPUT_PULLUP);
pinMode(BUTTON2, INPUT_PULLUP);
}
void loop() {
if(digitalRead(BUTTON2) == HIGH){
Serial.println("Button2 is hight");
}else{
Serial.println("nothing");
}
delay(10); // this speeds up the simulation
}