Skip to content

Instantly share code, notes, and snippets.

View cotestatnt's full-sized avatar

Tolentino Cotesta cotestatnt

  • Organization
  • Roma, Italia
View GitHub Profile
@kriegsman
kriegsman / TwoAnimationsAtTheSameTime.ino
Last active August 19, 2022 17:54
TwoAnimationsAtTheSameTime - one way to run two different animations at the same time.
#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