adafruit / Adafruit_CircuitPython_TCA9548A

CircuitPython driver for the TCA9548A I2C Multiplexer.
MIT License
26 stars 15 forks source link

Fails with CircuitPython #11

Closed tannewt closed 5 years ago

tannewt commented 5 years ago

writeto_then_readfrom isn't available on CircuitPython's busio.I2C (yet). This library should do the same detection routine as I2CDevice does.

Found here: https://forums.adafruit.com/viewtopic.php?f=60&t=154454

caternuson commented 5 years ago

Thanks. I think this is on me. Will take a look.

Need to keep CP calls to write_then_readinto from landing here: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice/blob/master/adafruit_bus_device/i2c_device.py#L147 Only blinka calls should go down that route.

caternuson commented 5 years ago

I'm closing. We can reopen if needed. Hopefully fixed with #12