Browse Source

Le rouge et en haut et le bleu en bas

main
Alex 4 years ago
parent
commit
aefe036889
  1. 4
      src/my_leds.h

4
src/my_leds.h

@ -250,9 +250,9 @@ void LED_Remplissage(unsigned int value){
for (int i = 0; i <= (int) ((LED_COUNT/2) * value / 100); i++) {
// DEFINITION DE LA COULEUR
int value = 255 - i * 255/(LED_COUNT/2);
color.R = value;
color.R = 255 - value;
color.V = 0;
color.B = 255 - value;
color.B = value;
// ALLUMAGE DU BATON DE LEDS

Loading…
Cancel
Save