Skip to content

Bug - File "adafruit_register/i2c_struct_array.py", line 63, in __getitem__ #51

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

Open
renannn opened this issue May 15, 2023 · 1 comment

Comments

@renannn
Copy link

renannn commented May 15, 2023

I was developing a device using this framework, but it started showing the following error and I don't know how to proceed.

Traceback (most recent call last):
File "code.py", line 140, in
File "adafruit_mpu6050.py", line 270, in acceleration
File "adafruit_register/i2c_struct_array.py", line 63, in getitem
OSError: [Errno 19] No such device
Erro

Can anyone help me with this ?

@tannewt
Copy link
Member

tannewt commented May 15, 2023

Is the device a MPU6050. That would happen if the device stopped responding to I2C communication. Why controller device are you using this with?

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