void setup() {
// put your setup code here, to run once:
pinMode(6, INPUT_PULLUP);
pinMode(13, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(13, digitalRead(6));
}
void setup() {
// put your setup code here, to run once:
pinMode(6, INPUT_PULLUP);
pinMode(13, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(13, digitalRead(6));
}