Based on the Intro to Animation and Animations and Patterns pages.
How to use code to light up the display and make properly timed animation frames.
How does the computer keep time so that it knows when to change a frame?
millis()
gives the number of milliseconds since the device was turned on.
void loop() { int t = millis(); int t_repeating = t % 2500; int b = t_repeating / 10;
SpinWheel.drawFrame(); }
Common tools for more pleasant animations
Examples → SpinWearables → Animations_and_Patterns → Smoother_Blink
void loop() {
}
void loop() {
}
void loop() {
}
void loop() {
}
Let your creativity sing through the code!