A simplistic C++ SPI NeoPixel driver that works on any linux device with SPI
GNU General Public License v3.0
3
stars
1
forks
source link
readme
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