Error message:
Traceback (most recent call last):
File "", line 33, in
File "imu.py", line 105, in init
File "imu.py", line 159, in chip_id
MPUException: I2C failure when communicating with IMU
Suspected bug is in _read() class function. Why try cell is not used in chip_id, following error message is recorded:
Traceback (most recent call last):
File "", line 33, in
File "imu.py", line 105, in init
File "imu.py", line 157, in chip_id
File "imu.py", line 117, in _read
OSError: [Errno 5] EIO
Hardware: Raspberry Pi Pico, MPU-6050
Error message: Traceback (most recent call last): File "", line 33, in
File "imu.py", line 105, in init
File "imu.py", line 159, in chip_id
MPUException: I2C failure when communicating with IMU
Suspected bug is in _read() class function. Why try cell is not used in chip_id, following error message is recorded: Traceback (most recent call last): File "", line 33, in
File "imu.py", line 105, in init
File "imu.py", line 157, in chip_id
File "imu.py", line 117, in _read
OSError: [Errno 5] EIO
Not sure if issue is with hardware or code