-
Notifications
You must be signed in to change notification settings - Fork 76
adafruit_bus_device writeto(..., stop=stop) deprecated #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looks like we just need to remove it from the call and function signature. Libraries shouldn't use it anymore. |
Besides BusDevice, these libraries also still use or provide
|
adafruit/circuitpython#3206 and adafruit/circuitpython#3207 just need the underlying change, those libraries per se are OK. I suspect most I2C device libraries will fail due to bus_device, and most uses are How long do we wait on "good first issue"? I'm happy to PR this bus_device library if there are no takers. |
I can’t deal with this tonight. I can look at it tomorrow if it has not been resolved. |
I think I've filed issues for all the repos that were using stop=, according to Dan's list above |
Fixed with #55 merge |
Using:
CircuitPython 6.0.0-alpha.2 on 2020-07-23
adafruit-circuitpython-bundle-6.x-mpy-20200723
CircuitPython 6.0.0 release notes:
code.py
error (occurs with various I2C device libraries):adafruit_bus_device/i2c_device.py#L104:
self.i2c.writeto(self.device_address, buf, start=start, end=end, stop=stop)
The text was updated successfully, but these errors were encountered: