Modifications

Sauter à la navigation Sauter à la recherche
52 octets ajoutés ,  16 novembre 2014 à 16:23
Ligne 72 : Ligne 72 :  
=== Faire clignoter une LED avec Tinker ===
 
=== Faire clignoter une LED avec Tinker ===
   −
The Spark app should now be on the Tinker screen, as shown to the right.  
+
L'application Spark devrait maintenant afficher l'écran Tinker, comme celui présenté ci-dessous.  
    
Cet écran s'appelle "DO" qui en anglais signifie "faire".
 
Cet écran s'appelle "DO" qui en anglais signifie "faire".
Ligne 84 : Ligne 84 :  
{{SPARKImage|Spark.IO-Core-demarrer-04.jpg|320px}}
 
{{SPARKImage|Spark.IO-Core-demarrer-04.jpg|320px}}
   −
Tap <code>D7</code> then <code>digitalWrite</code> in the popup. Now when you tap the <code>D7</code> circle the tiny blue LED should turn off or on! This is because the LED shares a connection to the Core with the pin labeled D7.
+
Tappez sur <code>D7</code> et ensuite sur <code>digitalWrite</code> dans la in the popup. Now when you tap the <code>D7</code> circle the tiny blue LED should turn off or on! This is because the LED shares a connection to the Core with the pin labeled D7.
    
You could hook your own LED up to the Core on another pin and do the same thing, use digitalRead to tell that a switch has been pressed, or analogRead to see the position of a knob.
 
You could hook your own LED up to the Core on another pin and do the same thing, use digitalRead to tell that a switch has been pressed, or analogRead to see the position of a knob.
29 917

modifications

Menu de navigation