void setup() {
// put your setup code here, to run once:
pinMode(26, INPUT);
pinMode(25, OUTPUT);
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println(digitalRead(26));
if(digitalRead(26) == 1){
digitalWrite(25,1);
} else{digitalWrite(25,0);}
delay(10); // this speeds up the simulation
}