Modifications

Sauter à la navigation Sauter à la recherche
251 octets ajoutés ,  6 juillet 2015 à 09:02
Ligne 68 : Ligne 68 :     
== Faire clignoter la LED ==
 
== Faire clignoter la LED ==
 +
Maintenant, faisons en sorte de contrôler la LED bleue de la carte (branchée sur D7). Si vous [http://build.particle.io/ cliquez ici] ou sur "Build" sur le site de Particle.IO vous serez dans l'IDE (environnement de développement) de Particle. Ce dernier vous permet d'écrire du code et de le téléverser sur votre Photon.
   −
Now let's control the blue LED on the device. If you [http://build.particle.io/ click here] or on Build on the main page, you'll be in the IDE- where we can write code and upload it to the Photon. Log in with the same email and password you used to sign up in the app, and we're off!
+
Loguez vous avec le même e-mail et mot de passe que vous avez utilisez en enregistrant votre Photon avec l'App.
    
{{SPARKImage|Photon-Démarrer-20.png|320px}}
 
{{SPARKImage|Photon-Démarrer-20.png|320px}}
   −
Click "BLINK AN LED" under the Example apps title. This code turns D7 (labeled led2) on and off, once a second. Click the lightning bolt icon in the upper left and it will upload or "flash" this code onto your Photon. You'll see a series of status colors on the main LED, and then the little blue LED blinking. Magic!
+
Cliquer sur le titre de l'application "BLINK AN LED" (clignoter une LED) visible sous le titre "Example" (exemples). Ce code activer et désactive la broche D7 (libellé led2) une fois toute les secondes. Click the lightning bolt icon in the upper left and it will upload or "flash" this code onto your Photon. You'll see a series of status colors on the main LED, and then the little blue LED blinking. Magic!
    
You can find more info in the [[Spark.IO-Build|Web IDE (Build)]] page
 
You can find more info in the [[Spark.IO-Build|Web IDE (Build)]] page
    
{{Spark-Photon-Materiel-TRAILER}}
 
{{Spark-Photon-Materiel-TRAILER}}
29 917

modifications

Menu de navigation