Components and supplies
Gikfun MTS102 2 Position 3 Pins Mini Toggle Switch for Arduino (Pack of 10pcs) EK2021
5 mm LED: Green
Arduino UNO
Jumper wires (generic)
Resistor 1k ohm
Tools and machines
Solder Wire, Lead Free
Soldering iron (generic)
Project description
Code
Toggle Switch Code
arduino
The basic code. It uses the digital pins on the board.
Toggle Switch Code
arduino
The basic code. It uses the digital pins on the board.
Downloadable files
Switch Solder
A closer look at the soldered toggle switch.
Switch Solder
Toggle Switch Wiring
A Fritzing Diagram for the wiring.
Toggle Switch Wiring
Switch Solder
A closer look at the soldered toggle switch.
Switch Solder
Comments
Only logged in users can leave comments