FastLED Basics Episode 5 - Multiple patterns using a timer or button
In the 5th episode of FastLED basics, we look at how run multiple patterns, and change them either on a timer or by pushing a button. We will then look at crossfading between patterns to provide a more professional look. Finally we will see how and why we might use classes to separate our patterns from each other making it easier to add more patterns or edit the code in the future.
GitHub link for code: Multiple patterns
OneButton library:
EasyButton library:
JC_Button library:
If you’ve found this useful and you’d like to support me to create more stuff, you can now buy me a coffee: or buy something from Amazon UK or US at the links below. As an Amazon Associate I earn from qualifying purchases from the links below. It doesn’t cost you any more and it helps me to keep making videos!
Amazon UK
Two pack of Arduino Nano clones:
5m 5V RGB WS2812B LED strip:
Amazon US
Three pack of Arduino nano clones:
5m 5V RGB WS2812B LED strip:
00:00 - Intro
01:05 - Changing patterns on a timer
02:32 - Changing patterns using a button
05:22 - Crossfading patterns
09:09 - Using classes for simple patterns
12:54 - Classes for more complex patterns
1 view
854
272
7 months ago 00:21:38 1
The BEST FastLED Tutorial | WS2812b LED Strip Arduino Nano
8 months ago 00:17:16 1
FastLED Basics Episode 6 - Noise
8 months ago 00:14:53 1
FastLED Basics Episode 5 - Multiple patterns using a timer or button