Skip to content
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

i2c transaction fails when readline() times out #5

Open
alvarop opened this issue Jan 5, 2016 · 0 comments
Open

i2c transaction fails when readline() times out #5

alvarop opened this issue Jan 5, 2016 · 0 comments

Comments

@alvarop
Copy link
Owner

alvarop commented Jan 5, 2016

In line 196, when an error occurs, it tries to return an error code
rbytes = int(result[1])
This is ok if the error was in an i2c transaction. If the silta board hangs for whatever reason (which technically shouldn't happen, but I still don't have a solid I2C library) the ERR is never printed, so we get an index out of bounds error on result[]

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

1 participant