Skip to content

Fails with CircuitPython #11

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

Closed
tannewt opened this issue Jul 25, 2019 · 2 comments
Closed

Fails with CircuitPython #11

tannewt opened this issue Jul 25, 2019 · 2 comments
Assignees

Comments

@tannewt
Copy link
Member

tannewt commented Jul 25, 2019

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
Copy link
Contributor

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 caternuson self-assigned this Jul 25, 2019
tannewt added a commit that referenced this issue Aug 6, 2019
@caternuson
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants