Hello everyone! This is my first post here on the forum, but I have am an avid reader of these and other similar forums. This is also my first open source library, any input is greatly appreciated.
My last big project involved an Mega 2560, additional RAM chip, Bluetooth, 72 RGB LEDs, and 12 WS2803 LED drivers.
I had a need for fast LED switching, so I started digging and looking at available libraries. At first I made a few modifications to some library I found, but that was not fast enough. The more and more I used the library I found many short comings and slowly modified it for speed. When the Arduino Due was released I quickly snapped one up and started porting code. This is strictly a hardware SPI library, there is no option for softSPI.
The biggest thing that I realized with the other libraries available for this chip is that they use a 1 milisecond delay for latching the data, which is way too long for my needs and the requirements of the chips. I made it so that the user can define external latching to reduce that 1 milisecond delay down to 400 microseconds, or better yet, use proto-threading to get more accomplished rather than have a delay.
All of the necessary information to get started is located in the README file, and there are a few examples locate in the.... examples folder!
Hope someone can get some use out of this!https://github.com/JamesRMartin/WS2803Due