OctoPrint-WS281x_LED_Status icon indicating copy to clipboard operation
OctoPrint-WS281x_LED_Status copied to clipboard

[Request]: Add support for SPI1 LEDs

Open cp2004 opened this issue 2 years ago • 1 comments

What would you like implemented?

SPI1 is not able to be used, only SPI0 (GPIO 10)

The library rpi_ws281x limits this. Try and patch this upstream, then bump the dependency in the plugin

Why should this be implemented?

Would allow for slightly more freedom with what GPIO can be used (or for multiple programs to use SPI)

cp2004 avatar Jun 15 '22 17:06 cp2004

Try this:

Add the following additional lines to /boot/config.txt to enable SPI1:

dtoverlay=spi1-1cs

Then reboot.

Install the patched up dependency:

UPDATED: rpi_ws281x-4.3.4.zip

Either download & then use plugin manager 'from file', or enter the below URL in 'from URL':

https://github.com/cp2004/OctoPrint-WS281x_LED_Status/files/10384042/rpi_ws281x-4.3.4.zip

Switch the plugin to use GPIO 20, connect the LEDs there, and maybe it might work

cp2004 avatar Jan 10 '23 15:01 cp2004