Oppgave 9: Fix pedestrian button

This commit is contained in:
Alex Thomassen 2019-02-20 22:08:49 +01:00
parent 55e296ba3b
commit ed88a808e3
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"board": "arduino:avr:uno",
"port": "COM6",
"port": "COM3",
"sketch": "Sketches\\sketch_jan10a-ArduinoInnlevering\\sketch_jan10a-ArduinoInnlevering.ino",
"programmer": "Atmel-ICE (AVR)"
}

View File

@ -42,7 +42,7 @@ void setup() {
pinMode(outputPins[i], OUTPUT);
}
pinMode(pedSwitch, INPUT);
pinMode(pedSwitch, INPUT_PULLUP);
}
/**