Added "Effect" AM_STATIC ("static") and some more colors.
This commit is contained in:
@ -216,10 +216,9 @@ void loop() {
|
||||
nodes[0]->blend_to(((millis() / 1000) % 2 == 0) ? CRGB::Black : color, 0, 64);
|
||||
}
|
||||
|
||||
} else if (active_mode == AM_OFF) {
|
||||
LOGln("Blanking.");
|
||||
} else if (active_mode == AM_OFF || active_mode == AM_STATIC) {
|
||||
for(Node* node : nodes) {
|
||||
node->set_color(CRGB::Black);
|
||||
node->set_color(active_mode == AM_OFF ? CRGB::Black : color);
|
||||
node->draw();
|
||||
}
|
||||
} else { // This includes AM_ERROR
|
||||
|
Reference in New Issue
Block a user