pimoroni / inky

Combined library for V2/V3 Inky pHAT and Inky wHAT.
https://shop.pimoroni.com/?q=inky
MIT License
575 stars 121 forks source link

Use on any non-Pi machines? #172

Open DanielArnett opened 1 year ago

DanielArnett commented 1 year ago

Does anyone know if this driver can be used on any non-Pi devices? If I have something similar that has SPI pins (like a beaglebone or jetson) is it able to connect to the inky?

Thank you,

SpencerWF commented 10 months ago

There should be any reason you can't use it on any device, but you will need to reverse-engineer the communication that's happening in the pi libraries as I don't know if anyone has done this yet.

Gadgetoid commented 10 months ago

Migrating this library from RPi.GPIO over to gpiod - which is on my TODO list - should very much help with that. The spidev/smbus libraries are pretty standard already, but Pi GPIO has been the exception.

DanielArnett commented 10 months ago

Thank you both for the feedback. I don't have an immediate need for this (Pi ended up being fine for my project), but it might one day be necessary. If I end up having to do this I'll make sure to submit a PR here.