Modifications
Sauter à la navigation
Sauter à la recherche
← Modification précédente
Modification suivante →
ENG-CANSAT-NEOPIXEL
(voir la source)
Version du 30 octobre 2018 à 14:50
227 octets ajoutés
,
30 octobre 2018 à 14:50
→Test script
Ligne 43 :
Ligne 43 :
== Test script ==
== Test script ==
The following script demonstrate how to manipulate the onboard NeoPixel.
The following script demonstrate how to manipulate the onboard NeoPixel.
+
+
As there is only one pixel (one pixel on the strand), the function {{fname|pixel.setPixelColor()}} will always have the first parameter is set to 0!
+
+
This means that we change the color of the LED #0 on the ''pixel strand''.
<syntaxhighlight lang="c">
<syntaxhighlight lang="c">
Admin
Bureaucrates
,
Administrateurs
29 837
modifications
Menu de navigation
Outils personnels
Se connecter
Espaces de noms
Page
Discussion
Variantes
Affichages
Lire
Voir le texte source
Voir l’historique
Plus
Rechercher
Navigation
ARDUINO
RASPBERRY-PI
[:: PI Hacking ::]
Particle.IO
Micro Python
Imprimante 3D
Actualités
Modifications récentes
Page au hasard
Aide
Outils
Pages spéciales
Version imprimable