I want to know how i could make two requarements in and if statement.... for example
"if(btn1 == HIGH,btn2 == HIGH){
digitalWrite(led1,HIGH);
}"
well i tried that and it didn't work... what can i do to make something like this work?
I want to know how i could make two requarements in and if statement.... for example
"if(btn1 == HIGH,btn2 == HIGH){
digitalWrite(led1,HIGH);
}"
well i tried that and it didn't work... what can i do to make something like this work?
nevermind i found out how sorry should have thought of &&