-
Notifications
You must be signed in to change notification settings - Fork 1
LED Animations
ScottD edited this page Feb 21, 2017
·
2 revisions
The Animation
class constructs objects that represent all the LEDs attached to the physical Jewelbot. There are 4 LEDs total that are connected to the Jewelbot.
See Also:
Animation animation;
//naming the variable type and then the name of variable.
Property | Type | Value/Description |
---|---|---|
ColorLabel | char | Preset RGB values. RED, GREEN, BLUE, YELLOW, MAGENTA, CYAN, WHITE |
-
.rainbows()
This function has your Jewelbot flash a rainbow color animation.
Animation animation; animation.rainbows();
-
.jewelbots_logo()
This function has your Jewelbot showing the colors of the Jewelbot logo on all 4 of the LEDs.
Animation animation; animation.jewelbots_logo();
-
.breathe_single_color(ColorLabel color)
This function has your Jewelbot breathe a single color on all 4 of the LED.
Animation animation; animation.breathe_single_color(GREEN);