Modifications

Sauter à la navigation Sauter à la recherche
Ligne 159 : Ligne 159 :  
La déclaration ci-dessis crée deux objets NéoPixel, un sur la broche 5 et l'autre sur la broche 6, chacun contenant 16 pixels et utilisant la configuration NéoPixel implicite (NEO_KHZ800 + NEO_GRB).
 
La déclaration ci-dessis crée deux objets NéoPixel, un sur la broche 5 et l'autre sur la broche 6, chacun contenant 16 pixels et utilisant la configuration NéoPixel implicite (NEO_KHZ800 + NEO_GRB).
   −
=== Can I connect multiple NeoPixel strips to the same Arduino pin? ===
+
=== Puis-je connecter de plusieur ruban NéoPixel sur une même broche Arduino? ===
In many cases, yes. All the strips will then show exactly the same thing. This only works up to a point though…four strips on a single pin is a good and reliable number. If you need more than that, individual NeoPixels can be used as buffers to “fan out” to more strips: connect one Arduino pin to the inputs of four separate NeoPixels, then connect each pixels’ output to the inputs of four strips (or fewer, if you don’t need quite that many). If the strips are 10 pixels long, declare the NeoPixel object as having 11 pixels. The extra “buffer” pixels will be at position #0 — just leave them turned off — and the strips then run from positions 1 through 10.
+
Dans la plupart des cas, la réponse est OUI. Tous les rubans composerons alors un seul et même objet physique. This only works up to a point though…four strips on a single pin is a good and reliable number. If you need more than that, individual NeoPixels can be used as buffers to “fan out” to more strips: connect one Arduino pin to the inputs of four separate NeoPixels, then connect each pixels’ output to the inputs of four strips (or fewer, if you don’t need quite that many). If the strips are 10 pixels long, declare the NeoPixel object as having 11 pixels. The extra “buffer” pixels will be at position #0 — just leave them turned off — and the strips then run from positions 1 through 10.
    
== Les pixels sont gourmand en RAM ==
 
== Les pixels sont gourmand en RAM ==
29 917

modifications

Menu de navigation