Skip to content

Instantly share code, notes, and snippets.

//Fading up and down using fadeLightBy
//by Scott Kletzien
/*
Put together & tested by:
Scottie Digital
*/
#include "FastLED.h"
#define NUM_LEDS 288 // # of LEDS in the strip
@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