Lab_interaccio/2018/LLAC-RGBW-varios/FASTLED/Referencias-Fastled/FASTLED-BlinkyTape-RGBW/README.md
2025-02-25 21:29:42 +01:00

10 lines
966 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Blinkytape (SK6812) FastLED with RGBW
Enable SK6812 RGBW strips to work with FastLED.
Anyone who has used The [BlinkyTape](http://blinkinlabs.com/blinkytape/) from
[BlinkinLabs](http://blinkinlabs.com/) knows that it is essentially a ATMega32u4 controller ideally compatiple with the WS2812B LEDs and SK6812 LEDs. By default the library that Blinkytape uses [FAST LED](https://github.com/FastLED/FastLED/releases) does not support RGBW color space, until now. This is a hack originaly coded by Jim Bumgardner (http://krazydad.com).
This works by exploiting the fact that WS2812B LEDs and SK6812 LEDs have similar data timing. Its not identical, but its close enough to make this work. The trick is to tell FastLED that were writing to a WS2812B strip, but insert an extra white byte between each RGB group.
I simply wrote the functionality to Blinkytape's 'ColorSwirl' example in Ardunio. I also included a HSV rainbow loop to play with.