Wemos D1 Push Button

Objectives:

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

Parts

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

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

Comments

  1. 888casino Review - 100% up to £200 No Deposit Bonus
    888casino has been in the gambling world 가상 화폐 란 a long time. For 벳 익스 many years, it has bet built a reputation for 일본야구분석사이트 itself with 업소 사이트 a strong gaming portfolio and plenty of bonus

    ReplyDelete

Post a Comment

Popular posts from this blog

Wemos D1 Night Light

Wemos D1 Blink

Getting Started with your Wemos D1