Hey all, relatively new here… I’ve been tinkering with the FastLED library a bit. It works fine with my old Arduino UNO with a strip of WS2812B LED’s I bought.
Though now I recently got one of the Bluefruit feather M0’s with the 48 Mhz Cortex M0 processor. Primarily because the bluetooth sounded like it would be awesome to work in with those LED’s.
Sadly, everything I’ve been trying to do for the past week has failed. I got logic level converters and messed around with them… They seem to be working, but I was only able to (for whatever reason) get them to properly blink a standard RGB LED on the high side with an analogWrite(PIN,255) call. Once I try to setup the fastLED (the same way that works for the arduino) I can’t even get a single WS2812B LED to light up even with the level converter.
I have the 5V power for the LED’s connected to the USB on my board. The boards ground is shared with the 5V ground. I put the 3V output from the bluefruit to the LV pin of the leveler and the ground goes to the common ground. Same is done for the high side. LV1 gets a signal pin and HV1 carries it to the LED signal wire. (with less than 500 Ohms worth of resistors). It’s a pretty simple circuit so I doubt I’m doing anything wrong there. Except that tidbit about the analogWrite call did worry me a bit. (Setting it to “HIGH” using either analog or digitalWrite functions ended up with a very weakly lit analog LED.)
I’m kind-of at a loss here. Though I suppose this particular product (regardless of the M0 support for Arduino since this is Adafruit) may not be supported by FastLED. Would anyone have any constructive advice for this? Should I try to find a way to bit-bang things myself? It would have been great of the NeoPixel DMA library I found worked but I don’t know if that’s even properly signalling them through the level converter…