Oh, and one more thing… Gemma & Trinket dimming
Oh, and one more thing. As of the full V2 release of FastLED tonight (see previous post), the FastLED master brightness/dimming function, FastLED.setBrightness(…), now works on all supported platforms, including ATtiny85-based Gemma and Trinket boards, even the slower 3.3v 8MHz models. This will be of particular interest to people making battery-powered projects with Gemma and Trinket where they want an easy way to keep power usage under control.
As always, using the FastLED master brightness control does not alter the contents of your “leds[…]” array at all, nor does it slow down your animation or consume additional CPU power; it’s as close to “free” as anything ever is.
Mad props to @Daniel_Garcia for some truly inspired and clever wizardry to make this work on ATtiny chips that have no hardware multiply capability, even the “half-speed” (8MHz) boards. Many people said this was completely impossible, and it was. Until Dan did it.
Enjoy!