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