void setup() {
// put your setup code here, to run once:
pinMode(32, OUTPUT);
pinMode(19, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
if (digitalRead(19) == HIGH){
digitalWrite(32, HIGH);
}else{
digitalWrite(32, LOW);
}
}