FastLED Palette Button by amelia.tetterton

FastLED Palettes with Button Press
This sketch is a compilation of the FastLED Color Palette and a button press. There are a bunch of mode options to choose from within the sketch, including adjusting the speed and steps of the preset palettes and creating your own palettes and modes. Depending on the choices and number of LEDs, you may be able to fit 8-10 of these modes on an attiny85 board like the Trinket or Gemma. Larger capacity boards will be able to handle more.

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:433123" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>

  • 2022-01-20 jzhdesigner

    Hi Amelia, first just wanted to say I love this sketch and have been using it for a while. It's so hard to find a good toggle button sketch that incorporates Palette Knife. However, I've been really trying to make other Fastled sketches work with it, specifically Fire2012 and Pacifica. I know that it seems to be this line that either makes or breaks the Fire variable FillLEDsFromPaletteColors( startIndex); and I just can't make it work. Do you have any suggestions? Thanks!