Modifications

Sauter à la navigation Sauter à la recherche
630 octets ajoutés ,  24 novembre 2014 à 21:07
aucun résumé de modification
Ligne 2 : Ligne 2 :     
{{traduction}}
 
{{traduction}}
 +
 +
== Faire clignoter une LED ==
 +
 +
Blinking an LED is the "[http://en.wikipedia.org/wiki/Hello_world_program Hello World]" example of the microcontroller world. It's a nice way to warm up and start your journey into the land of embedded hardware.
 +
 +
For this example, you will need a Spark Core (duh!), a Breadboard, an LED, a Resistor (we will soon find out a suitable value) and a USB cable.
 +
 +
== Brancher ==
 +
Connect everything together as shown in the picture. The LED is connected to pin D0 of the Core. The positive (longer pin) of the LED is connected to D0 via a resistor and its negative pin (shorter) is connected to ground.
 +
 +
    
{{Spark-Core-Hacking-TRAILER}}
 
{{Spark-Core-Hacking-TRAILER}}
29 910

modifications

Menu de navigation