Tweak neopixel self-test

This commit is contained in:
Scott Lahteine 2017-10-26 22:46:11 -05:00
parent 9aac3d8773
commit 2296d98845

View File

@ -1013,13 +1013,13 @@ void servo_init() {
pixels.show(); // initialize to all off pixels.show(); // initialize to all off
#if ENABLED(NEOPIXEL_STARTUP_TEST) #if ENABLED(NEOPIXEL_STARTUP_TEST)
delay(2000); safe_delay(1000);
set_neopixel_color(pixels.Color(255, 0, 0, 0)); // red 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 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 set_neopixel_color(pixels.Color(0, 0, 255, 0)); // blue
delay(2000); safe_delay(1000);
#endif #endif
set_neopixel_color(pixels.Color(NEO_WHITE)); // white set_neopixel_color(pixels.Color(NEO_WHITE)); // white
} }