Added effect 'rainbow'.
This commit is contained in:
@ -26,6 +26,7 @@ class Node {
|
||||
Node(uint16_t number, Coords c, uint8_t direction);
|
||||
Node* create_neighbour(uint8_t edge);
|
||||
Coords coords_at_direction(uint8_t edge);
|
||||
uint16_t distance_from_start = 0;
|
||||
|
||||
void blend_to(CRGB color, uint16_t effect_id=0, uint8_t effect_speed=0);
|
||||
void set_color(CRGB color);
|
||||
|
@ -24,7 +24,8 @@ enum AnimationMode {
|
||||
AM_OFF,
|
||||
AM_ERROR,
|
||||
AM_NONE,
|
||||
AM_STATIC
|
||||
AM_STATIC,
|
||||
AM_RAINBOW
|
||||
};
|
||||
|
||||
extern std::map<AnimationMode, const char*> animation_mode_names;
|
||||
|
Reference in New Issue
Block a user