Skip to content

A simplistic C++ SPI NeoPixel driver that works on any linux device with SPI

License

Notifications You must be signed in to change notification settings

hannescam/NeoSPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeoSPI

A simplistic C++ SPI NeoPixel driver that works on any linux device with SPI

  • build:
make
  • run:
./example/NeoSPI_Standarttest /dev/spidev0.0
  • clean:
make clean
  • Troubleshooting
    • If you are using a Raspberry Pi 4 or similar you need to inhibit the downclocking of the CPU otherwise the LEDs will be white
    • If your LEDs aren't RGB LEDs but they are a different order or they have an additional white component then they wont work with this library but if you open an issue I will try to implement them (I haven't implemented them because I don't own any)
    • If you see any flickering or lower brightness than expected then please check your powersupply before opening a issue
    • If the LEDs are currupted check that the spidev on your device is 6.4MHz for the 800KHz neopixels or 3.2MHz for the 400KHz models
  • If you want to drive more than 170 LEDs it is necesary to increase the SPI buffer size using spidev.bufsiz=65536 in the kernel command line
  • Credits

THIS REPO GOT MOVED TO GITLAB: NeoSPI

About

A simplistic C++ SPI NeoPixel driver that works on any linux device with SPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published