Have an RFDuino? Have a working environment for uploading code to an RFDuino? Feel like being a guinea pig? I have an rfduino environment that won’t see/upload to my rfduinos for reasons I haven’t figured out yet, and own’t be able to dig into - but I do have a branch of fastled with tentative rfduino support:
Note that for a variety of reasons it doesn’t currently support dithering - and I haven’t been able to test this code at all on an rfduino (but it is derived from code that I’m using constantly on bare nrf51822’s which the rfduino is based on) - so it may not work at all. Figured i’d toss it out there for the daring amongst you until I get my rfduinos here working.
Update: It works for WS28x and friends as long as your master brightness is 255 and you aren’t using any color correction. The timings for when there’s master brightness/color correction are all off
Well it compiles and runs, although I’m only getting red on my Neopixel ring. The other color channels aren’t showing up. Also getting some odd flickering artifacts.
Still getting pretty significant artifacting. At what update rate should FastLED be able to run on RFdunio to WS2812s? I’m updating ~212 times/sec., which I think ought to be well within the range of the hardware.
Honestly - I’d need to see your code to get a feel for what kind of artifacting you are seeing and whether it is code caused or something else (pastebin or gist, please)
Just one LED right now. They’re called APA106’s but they’re advertised as being an LED with a WS2812 built-in so I’m pretty confused by all the various datasheets and specs. I was able to get some bit-banging worked out that is pretty close to within the spec at http://www.adafruit.com/datasheets/WS2812B.pdf (T1L is about 150ns out of tolerance but the other three are all good) – same flicker as with the previous bit-banging code from a third-party, so I’m starting to think it’s the LEDs. The artifacting I’m getting with FastLED will take a video to explain. Let me record and I’ll get back to you with a paste and a video.
It’s entirely possible I don’t actually have APA106s. The behavior I’m seeing is exactly the same whether I wire up the “APA106” or an bonefide WS2812B. The "APA106"s are COM-12986 from SparkFun.