int buttonUno = 33;
int buttonDos = 25;
void setup() {
// put your setup code here, to run once:
pinMode(buttonUno, OUTPUT);
pinMode(buttonDos, OUTPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
// this speeds up the simulation
int buttonUnoState = digitalRead(buttonUno);
int buttonDosState = digitalRead(buttonDos);
if (buttonUnoState == LOW){
Serial.println("Button 1 is Pressed!");
delay(200);
}
if (buttonDosState == HIGH){
Serial.println("Button 2 is Pressed!");
delay(200);
}
}