Modifications

Sauter à la navigation Sauter à la recherche
133 octets ajoutés ,  27 décembre 2014 à 21:21
aucun résumé de modification
Ligne 12 : Ligne 12 :  
flash core said  {"id":"0123456789ABCDEFGHI","status":"Update started"}</nowiki>
 
flash core said  {"id":"0123456789ABCDEFGHI","status":"Update started"}</nowiki>
   −
{{bloc-etroit|text=Let's make sure your core is online and loaded with Tinker. We should see the four characteristic functions exposed by Tinker, "digitalwrite", "digitalread", "analogwrite", and "analogread".}}
+
{{bloc-etroit|text=Assurons nous que notre Core est en ligne et qu'il est chargé avec Tinker. Nous devrions voir les quatre fonctions caractéristiques exposées par Tinker, "digitalwrite", "digitalread", "analogwrite" et "analogread".}}
   −
  <nowiki># how to show all your cores and their functions and variables
+
  <nowiki># Comment afficher tous vos Cores et leurs fonctions + variables
 
$ spark list
 
$ spark list
   Ligne 26 : Ligne 26 :  
     int analogwrite(String args)</nowiki>
 
     int analogwrite(String args)</nowiki>
   −
{{bloc-etroit|text=Nice! You should have seen the small blue LED turn on, and then off.}}
+
{{bloc-etroit|text=Super! Vous devriez avoir vu la petite LED bleue s'allumer et s'éteindre.}}
   −
  <nowiki># how to call a function on your core
+
  <nowiki># Comment appeler une fonction sur votre Core
−
$ spark call my_core_name digitalwrite D7,HIGH
+
$ spark call nom_du_nouveau_core digitalwrite D7,HIGH
 
1
 
1
−
$ spark call my_core_name digitalwrite D7,LOW
+
$ spark call nom_du_nouveau_core digitalwrite D7,LOW
 
1</nowiki>
 
1</nowiki>
    +
Notez que la valeur retournée par la fonction "1" est également affiché.
    
{{Spark.IO-CLI-TRAILER}}
 
{{Spark.IO-CLI-TRAILER}}
32 920

modifications

Menu de navigation