Open mikeysklar opened 1 year ago
Thanks @mikeysklar, that worked for me!
For my RaspberryPi 4B I got the error: OSError: /dev/spidev0.0 does not exist
The solution provided here works for me:
https://raspberrypi.stackexchange.com/questions/127793/raspberry-pi-4b-no-dev-spidev0-0
The DotStarPiPainter guide mentions that the lightpaint.so library will occasionally need to be re-compiled. This is the case for a Pi OS Bullseye release.
Easy enough, but perhaps a style issue with the source.
Is it better to include the python specific release in the Makefile compiler flags or in the #include in the lightpaint.c.
I'm pretty sure the answer is Makefile.
lightpaint.c - change from including python3.5 to any python release.
Makefile - added compiler flags to include python3.9 folder