|
|
@@ -66,7 +66,7 @@ void LED_colorWipe(uint32_t color, int wait) { |
|
|
|
* @param wait intger avec le delay |
|
|
|
*/ |
|
|
|
void LED_changeCouleur(Couleur color, int wait){ |
|
|
|
for( int i =0; i<= LED_COUNT; i++){ |
|
|
|
for( int i =0; i<= LED_COUNT/2; i++){ |
|
|
|
LED_AllumeBaton(i, color); |
|
|
|
strip.show(); // Update strip to match |
|
|
|
delay(wait); // Pause for a moment |
|
|
@@ -81,7 +81,7 @@ void LED_changeCouleur(Couleur color, int wait){ |
|
|
|
* @param wait intger avec le delay |
|
|
|
*/ |
|
|
|
void LED_changeCouleurInverse(Couleur color, int wait){ |
|
|
|
for( int i = LED_COUNT; i >= 0; i--){ |
|
|
|
for( int i = LED_COUNT/2; i >= 0; i--){ |
|
|
|
LED_AllumeBaton(i, color); |
|
|
|
strip.show(); // Update strip to match |
|
|
|
delay(wait); // Pause for a moment |