Conversation
|
I am also, now, unsure. The reasoning behind this is steeped in about a decade of legacy and I have since forgotten exactly why. I suspect if it works at all, it should work everywhere. Of course all the tests have succumb to bitrot 😭 I have a whole new boilerplate to migrate libraries to. |
|
I can vouch for this, it definitely worked for me. I'm afraid I'm ignorant on understanding why it works, but I've used it in my own (very much WIP) project linked at the bottom, on an RPi Zero2W running Raspberry Pi OS bookworm, running within a python 3.11 venv. Thank you very much Kancelott! I followed these steps to get it working, though I am no python expert (I'm a java/bash guy)
Below is my pip3 list output in case it gives anyone clues for their own project. ` $ pip3 list colorzero 2.0 |
|
Updating the init.py file worked for me too. Haven't noticed any other issues introduced by this fix. |
Rely on spidev's chip select rather than manually triggering GPIO pins.
This fixes #16, where Bookworm has stricter checks on using GPIO pins.
Unsure if this change would impact older versions of Raspbian, or why the decision to manually assert/deassert GPIO 7 and GPIO 8 SPI chip select in the first place.