Oppgave 9: Fix pedestrian button
This commit is contained in:
parent
55e296ba3b
commit
ed88a808e3
2
.vscode/arduino.json
vendored
2
.vscode/arduino.json
vendored
@ -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)"
|
||||
}
|
@ -42,7 +42,7 @@ void setup() {
|
||||
pinMode(outputPins[i], OUTPUT);
|
||||
}
|
||||
|
||||
pinMode(pedSwitch, INPUT);
|
||||
pinMode(pedSwitch, INPUT_PULLUP);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user