I just got a this libary installed and pluged in and when I run any thing that retruns a map it reads this error:
Traceback (most recent call last): File "/home/pi/Desktop/IMU_MPU6050.py", line 7, in <module> accelerometer_data = IMU.get_gyro_data() File "/home/pi/.local/lib.python3.9/site-packages/mpu6050/mpu6050.py, line 235, in get_gyro_data z = self.read_i2c_word(self.GYRO_ZOUT0) File "/home/pi/.local/lib.python3.9/site-packages/mpu6050/mpu6050.py, line 87, in read_i2c_word low = self.bus.read_byte_data(self.address, register + 1) File "/home/pi/.local/lib/python3.9/site-packages/smbus/util.py", line 59, in validator return fn(*args, **kwdefults) File "/hoome/pi/.locallib/python3.9/site-packages/smbus/smbus.py", line 132, in read_byte_data raise IOError(ffi.errno) OSError: 121
I just got a this libary installed and pluged in and when I run any thing that retruns a map it reads this error:
Traceback (most recent call last): File "/home/pi/Desktop/IMU_MPU6050.py", line 7, in <module> accelerometer_data = IMU.get_gyro_data() File "/home/pi/.local/lib.python3.9/site-packages/mpu6050/mpu6050.py, line 235, in get_gyro_data z = self.read_i2c_word(self.GYRO_ZOUT0) File "/home/pi/.local/lib.python3.9/site-packages/mpu6050/mpu6050.py, line 87, in read_i2c_word low = self.bus.read_byte_data(self.address, register + 1) File "/home/pi/.local/lib/python3.9/site-packages/smbus/util.py", line 59, in validator return fn(*args, **kwdefults) File "/hoome/pi/.locallib/python3.9/site-packages/smbus/smbus.py", line 132, in read_byte_data raise IOError(ffi.errno) OSError: 121