NXP PCA9957 device driver to work with periph.io
The PCA9957 is a 24-channel SPI bus constant current programmable LED driver.
This device supports daisy chaining of multiple drivers to build composed led stripes. Driver will expose the daisy chained stripes as a row of pixels as done in existing nrzled driver.
- Driver is currently only compatible with RGB strips (max 8 pixels, asigning 3 channels per pixel)
- Driver asumes pixels in BGR configuration (in each pixel, lower channel for blue, higher channel for red and mid for green)
- ie, for the first pixel of the stripe, channel zero would be blue, channel one would green and channel two would be red
- Driver models led stripe as one line of pixels (containing a maximun of eight color pixels)