adafruit / Adafruit_CircuitPython_Register

Python data descriptor classes to represent hardware registers on I2C devices.
MIT License
47 stars 21 forks source link

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

Open renannn opened 1 year ago

renannn commented 1 year ago

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 commented 1 year ago

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