Le rouge et en haut et le bleu en bas
This commit is contained in:
parent
d855034436
commit
aefe036889
@ -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…
Reference in New Issue
Block a user