It is often useful to have multiple patterns, and to be able to switch between them on a timer or via a button press. Here we will discover how to do just that!
- Writing patterns as functions in the same sketch
- Using a timer or button to switch between patterns
- Crossfading between patterns
- Specifying patterns as a class to save on RAM usage when they are not active
- blend and nblend functions FastLED API docs
- OneButton library
- EasyButton library
- JC_Button library