int button = 2 ;
int led = 3 ;
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
if (digitalRead(2) == HIGH){
digitalWrite(3, HIGH);
}
}
int button = 2 ;
int led = 3 ;
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
if (digitalRead(2) == HIGH){
digitalWrite(3, HIGH);
}
}