Wemos D1 Push Button
Objectives:Build a circuit and program that allow you to control when a light turns on and off.
- Wemos D1 https://amzn.to/2yYBbMY
Connect one side of a button to D3 and the other side to GND. Since D3 and D4 have built in resistors we don't need to add any other items to make this circuit work.
Compile and upload the sketch to the board.
- Change the program so that the button toggles the light on and off.