void setup() {
// put your setup code here, to run once:
pinMode(26, OUTPUT);
pinMode(25, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
// this speeds up the simulation
int button = 0;
button = digitalRead(25);
if(button == 1){
digitalWrite(26, HIGH);
}
else
{
digitalWrite(26, LOW);
}
}