cp2004 / OctoPrint-WS281x_LED_Status

Add some RGB LEDs to your printer for a quick status update!
https://plugins.octoprint.org/plugins/ws281x_led_status
GNU Affero General Public License v3.0
111 stars 26 forks source link

Changing the GPIO pin #171

Closed mistfink closed 2 years ago

mistfink commented 2 years ago

What would you like implemented?

Helloo, first of all, very nice plugin, i love it! But It would be great if there is an option to change the GPIO-"LED Data in"-pin to another pin (like to gpio 20) i dont know if it is important that it has to be an SPIO MOSI-pin or any other GPIO.

Why should this be implemented?

I have installed the touchscreen and the GPIO10 is used by that. But i want to use the touchscreen AND the LED status lights (and a power button but that's an other thing :) )

cp2004 commented 2 years ago

You can change the GPIO pin in the LED settings. It does have to be an SPI capable pin, and you may have to configure some extra flags in the config.txt file to enable the second SPI interface. GPIO 20 is another SPI pin: https://pinout.xyz/pinout/pin38_gpio20

cp2004 commented 2 years ago

Also note that only GPIO 10 (SPI0) is available all Pis, it can get confusing with all the different hardware - https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#spi-hardware

github-actions[bot] commented 2 years ago

This issue has been marked a stale because it has been open for 14 days with no activity. If there is no further activity in the next 7 days this issue will be closed.

github-actions[bot] commented 2 years ago

This issue has been closed as there was no activity for 21 days. If this issue is still relevant, please request a reopen or create a new issue.