LED_Helmet -> Change Blinker Color

This commit is contained in:
MindCreeper03
2025-03-04 17:18:39 +01:00
parent 52f7ce5fc7
commit 7c9f5db3a4

View File

@@ -63,12 +63,12 @@ void loop() {
clearLEDs();
if(BR_active){
for(int pixel = 0;pixel<BR_LED_State;pixel++){
BR_LED.setPixelColor(pixel, BR_LED.Color(255, 30, 0));
BR_LED.setPixelColor(pixel, BR_LED.Color(255, 60, 0));
}
}
if(BL_active){
for(int pixel = 0;pixel<BL_LED_State;pixel++){
BL_LED.setPixelColor(pixel, BL_LED.Color(255, 30, 0));
BL_LED.setPixelColor(pixel, BL_LED.Color(255, 60, 0));
}
}
BRK_LED_State = (BRK_LED_State+1)%(BRK_Pixels/2+1); //Back Light is on regardless