Skip to content

Drop `stop=` keyword in I2CDevice API

Compare
Choose a tag to compare
@dhalbert dhalbert released this 26 Jul 14:41
856b91f

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.