
Arduino Basic Course. Modify the blinking diode program
In this episode we would modify the blinking diode program so that the diode will stay on for four seconds.
- #316
- 15 Nov 2016
In this episode we would modify the blinking diode program so that the diode will stay on for four seconds.
As a result from the previous two videos we have a diode that is blinking. What will now happen with the diode if we remove the power and change the position of the legs.
Developing a program for the Arduino is very easy. We need to do again three thigs:
You have the controller, you have the diode. The controller has a number of pins (holes). Where should you put the diode so that it starts blinking?
The small holes on the controller are called pins. On our controller we have 32 pins. The more pins that you have, the more elements you can controller with this microcontroller. For this video the interesting pins and 13 and GND
Why: It's an easy and fun example to introduce you to Arduino
How: Presenting questions and trying answer this questions. Experimenting with different tasks.
What: We would like to show you how to control a diode. We would build a device and write programs for this device.
End Result: A blinking diode