I was playing around with Arduino and a 16 Led Strip, when I got curious about having the Azure Sphere driving the Led Strip.
I looked around the web to find a driver or some project using Azure Sphere and the WS2812 Led Strips and found none. Then I decided to write the driver based on the specs for the WS2812 Led. Some lines of code later I realized there is not way to achieve the signal timing. Around 300ns. The smallest time step I could achieve with software was around 65 micro senconds.
When I was about to give up, I found a post which shows a technique to generate the signal using SPI interface.
The Code
The driver and some examples can be found at my GitHub









Comments