Wemos D1 Push Button


Build a circuit and program that allow you to control when a light turns on and off.



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. 


  1. Change the program so that the button toggles the light on and off.


Popular posts from this blog

Getting Started with your Wemos D1

Wemos D1 Blink