Skip to content

Drop `stop=` keyword in I2CDevice API + fix syntax issue for Python 3.5

Compare
Choose a tag to compare
@dhalbert dhalbert released this 27 Jul 03:13
eb4b21e

5.0.1: drop trailing comma in a keyword-required arg list to accommodate Python 3.5.

5.0.0: The stop= keyword is no longer supported for I2CDevice.write() and I2CDevice.write_then_readinto(), because the underlying busio.I2C API no longer supports the keyword either. See adafruit/circuitpython#3195 and adafruit/circuitpython#2082.

This is an incompatible change for CircuitPython 4.x, which is no longer supported.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-busdevice.

Read the docs for info on how to use it.