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.
In order to use the LED functions, you first need to initialize the library. This tells your program that you want to code around the LEDs, then you can use the functions below to do cool things with LEDs!
The different functions are called the "API", because they are the way you interact with the device. APIs are ways you can work with different interfaces, sometimes in a computer and sometimes online.
There are also lots of different colors you can make your Jewelbots light up! The list of color names you can use are:
RED, GREEN, BLUE, MAGENTA, YELLOW, CYAN, WHITE, ORANGE, GOLD, PURPLE, PERIWINKLE, ROSE, OCEAN, and SKY.
This function has your Jewelbot flash a rainbow color animation.
This function has your Jewelbot showing the colors of the Jewelbot logo on all 4 of the LEDs.
This function turns the LEDs on and turns them off slowly, looking like a breathing pattern.
This function is an animation invented by Jewelbots' ambassador Ellie! It's a OCEAN colored Jewelbot with a MEGENTA ball randomly jumping around!