void setup() {
// put your setup code here, to run once:
pinmode(12,INPUT)
pinmode(13,0utput)
digitalWrite(13, HIGH);
}
void loop() {
// put your main code here, to run repeatedly:
if digitalRead(12,HIGH)
(digitalWrite(13, HIGH);)
}
void setup() {
// put your setup code here, to run once:
pinmode(12,INPUT)
pinmode(13,0utput)
digitalWrite(13, HIGH);
}
void loop() {
// put your main code here, to run repeatedly:
if digitalRead(12,HIGH)
(digitalWrite(13, HIGH);)
}