Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 5 months ago.
Is there a code for WS2811/neopixel leds what will work with GCC offline?
I have found several libraries for the WS2811 leds, but they all require assembly code due to strict timing requirements. The gcc assembler won't work with these .s files as they are Keil syntax files. Has any one created a straight C/C++ version or a version that will work with the gcc assembler?
7 years, 2 months ago.
Depending on your mbed board, my library might work for you. However, it depends on the KL25Z board's DMA peripheral (though the code may work on other Freescale boards; I don't know yet).
Library allowing up to 16 strings of 60 WS2811 or WS2812 LEDs to be driven from a single FRDM-KL25Z board. Uses hardware DMA to do a full 800 KHz rate without much CPU burden.