Arduino/Micro/Blink: Difference between revisions
From charlesreid1
(Created page with "This code shows a simple implementation of a blink program on the Arduino Micro. This is the same as the Hello World Arduino Micro circuit, but with the Arduino controlli...") |
No edit summary |
||
| Line 2: | Line 2: | ||
This is the same as the [[Hello World Arduino Micro]] circuit, but with the Arduino controlling the voltage of the circuit. | This is the same as the [[Hello World Arduino Micro]] circuit, but with the Arduino controlling the voltage of the circuit. | ||
This time, we connect the power source of the circuit to a pin whose voltage the Arduino microcontroller controls. | |||
Now, we have a reason to write a program for the microcontroller. By doing different things with the voltage at pin X, we can do things with the light. It's as simple as controlling a shut-off valve for water (voltage). | |||
[[Category:Arduino]] | [[Category:Arduino]] | ||
Revision as of 21:20, 18 July 2015
This code shows a simple implementation of a blink program on the Arduino Micro.
This is the same as the Hello World Arduino Micro circuit, but with the Arduino controlling the voltage of the circuit.
This time, we connect the power source of the circuit to a pin whose voltage the Arduino microcontroller controls.
Now, we have a reason to write a program for the microcontroller. By doing different things with the voltage at pin X, we can do things with the light. It's as simple as controlling a shut-off valve for water (voltage).