nicholasstparker / frosthaven_led_updater

Works with FrosthavenAssistant app for Frosthaven/Gloomhaven to update addressable leds based on gamestate. Dockerized.
GNU Affero General Public License v3.0
7 stars 0 forks source link

Neopixel_SPI required for RPI5 #1

Open blackandwhitehat opened 3 months ago

blackandwhitehat commented 3 months ago

Just a note, had to switch out the neopixel library/class for neopixel_spi and connect to MOSI pin as RPI5 doesn't support neopixels via standard GPIO anymore. More info at https://learn.adafruit.com/circuitpython-neopixels-using-spi

nicholasstparker commented 3 months ago

Thanks for bringing this to my attention.

As I understand it, this new class would work on the pi 3b+ I am using, but I would have to switch the led data cable to use the SPI(MOSI) pin. Does that sound accurate?

And are hex colors required? Or can it also still be a tuple of r, g, b?