adafruit / Adafruit_CircuitPython_BusDevice

Two helper classes that handle transaction related state for I2C and SPI including locks.
MIT License
108 stars 76 forks source link

i2c_device: adjust for removal of stop=, compatibly #54

Closed jepler closed 4 years ago

jepler commented 4 years ago

This version prints (to the serial console) a message about the deprecation. Then we can remove it HERE in a future release.

I can provide a version which just removes it right now, if that's preferable.

Testing performed: with 6.0.0.a2 on an Adafruit Clue, can instantiate the LSM6DS33 object

jerryneedell commented 4 years ago

Tested with CP 6.0.0-alpha2 on metro_m4_express with 2 I2C devices (aht20 and msa301) -- both work normally -- Thank you!

dhalbert commented 4 years ago

Closed in favor of #55.