Wemos D1 Push Button
Objectives: Build a circuit and program that allow you to control when a light turns on and off. Parts Wemos D1 https://amzn.to/2yYBbMY Switch Directions Clone https://githubcom/awoehler/electronics.network Open Examples/ButtonLight/ButtonLight.ino 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. Exercises Change the program so that the button toggles the light on and off.