LED_Helmet -> Change Blinker Color
This commit is contained in:
@@ -63,12 +63,12 @@ void loop() {
|
|||||||
clearLEDs();
|
clearLEDs();
|
||||||
if(BR_active){
|
if(BR_active){
|
||||||
for(int pixel = 0;pixel<BR_LED_State;pixel++){
|
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){
|
if(BL_active){
|
||||||
for(int pixel = 0;pixel<BL_LED_State;pixel++){
|
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
|
BRK_LED_State = (BRK_LED_State+1)%(BRK_Pixels/2+1); //Back Light is on regardless
|
||||||
|
|||||||
Reference in New Issue
Block a user