Le rouge et en haut et le bleu en bas

main
Alex 2022-05-25 01:38:45 +02:00
parent d855034436
commit aefe036889
1 changed files with 2 additions and 2 deletions

View File

@ -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