Tweak neopixel self-test
This commit is contained in:
parent
0ceec1f166
commit
daeff5a11a
1 changed files with 4 additions and 4 deletions
|
@ -45,13 +45,13 @@ void setup_neopixel() {
|
|||
pixels.show(); // initialize to all off
|
||||
|
||||
#if ENABLED(NEOPIXEL_STARTUP_TEST)
|
||||
delay(2000);
|
||||
safe_delay(1000);
|
||||
set_neopixel_color(pixels.Color(255, 0, 0, 0)); // red
|
||||
delay(2000);
|
||||
safe_delay(1000);
|
||||
set_neopixel_color(pixels.Color(0, 255, 0, 0)); // green
|
||||
delay(2000);
|
||||
safe_delay(1000);
|
||||
set_neopixel_color(pixels.Color(0, 0, 255, 0)); // blue
|
||||
delay(2000);
|
||||
safe_delay(1000);
|
||||
#endif
|
||||
set_neopixel_color(pixels.Color(NEO_WHITE)); // white
|
||||
}
|
||||
|
|
Reference in a new issue