Skip to content

periph.io inspired driver for led stripes based on PCA9957

License

Notifications You must be signed in to change notification settings

angiglesias/pca9957

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Periph.io compatible SPI driver for PCA9957 led controller

NXP PCA9957 device driver to work with periph.io

PkgGoDev

Driver summary

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.

Limitations

  • 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)

Datasheet

About

periph.io inspired driver for led stripes based on PCA9957

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages