S.H.A. Chile 2016 - Arduino Lecture


Project maintained by molguin92 Hosted on GitHub Pages — Theme by mattgraham

Button LED circuit

What you need:

Connect the components according to the following diagram:

Diagram

We are going to program the Arduino to make the LED on when we press the button. Open the Arduino software, and edit the code to the following:

Diagram

Finally, press the arrow button at the top to run the program on your Arduino (you'll have to save the project somewhere on the computer first though!). Press the button and see what happens!

Evaluation Questions: