Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request]: Add support for SPI1 LEDs #194

Open
cp2004 opened this issue Jun 15, 2022 · 1 comment
Open

[Request]: Add support for SPI1 LEDs #194

cp2004 opened this issue Jun 15, 2022 · 1 comment
Labels
request New feature or request
Milestone

Comments

@cp2004
Copy link
Owner

cp2004 commented Jun 15, 2022

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 cp2004 added the request New feature or request label Jun 15, 2022
@cp2004 cp2004 added this to the 1.0.0 milestone Jul 1, 2022
@cp2004
Copy link
Owner Author

cp2004 commented Jan 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant