Closed georgeHall closed 1 year ago
I'd probably add an explicit failover to 20 or prompt the user for a bus address, since this could have unintentional side-effects.
This feels like a bug with 64bit, though, we have over-reliance on hard-coding /dev/i2c-1
basically everywhere and I don't really see why 64bit should break that expectation?
Sorry, GitHub has deprecated another Python version on Actions and blown up all of our tests. I need to go through and fix these. :sob:
Has something in the 64bit Raspberry Pi OS changed to render this obsolete?
HI Sorry, I have put this on hold as I've been working on something else.
Using SMBus initalisation with an integer will force the use of using i2c bus
/dev/i2c-1
. In RPi os 64 bit the bus does not exist, instead there is bus/dev/i2c-20
.The fix will retrieve the i2c bus from the directory and that should allow the correct bus to be used across an OS.
Resolving: https://github.com/pimoroni/inky/issues/113