- Engineering
- Other
- 1 toggle an led using a switch 30 the led...
Question: 1 toggle an led using a switch 30 the led...
Question details
1) Toggle an LED using a switch (30%) The LED and the switch need to use the same PORT (Either port B or D). The LED Pin to use on the Arduino is to be your last digit of your student ID, for example last digit is 9, therefore LED pin is 9 on the board or PORTB 1.
Solution by an expert tutor
