This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FastLED.h" | |
// TwoAnimationsAtTheSameTime | |
// Example showing one way to run two different animations on | |
// two different parts of one LED array at the same time. | |
// | |
// The three keys to success here are: | |
// | |
// 1. Move the drawing of each animation into a separate 'draw' function, | |
// each of which is called from 'loop()'. Each 'draw' function draws |