Modifications

Sauter à la navigation Sauter à la recherche
211 octets ajoutés ,  30 octobre 2018 à 14:50
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{ENG-CANSAT-NAV}}
 
{{ENG-CANSAT-NAV}}
  −
{{traduction}}
      
== What are NeoPixels? ==
 
== What are NeoPixels? ==
Ligne 43 : Ligne 41 :  
== 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">
29 910

modifications

Menu de navigation