The onboard mpu occasionally gives status 2 or 5 after the MCU was restarted. This happens with both the MPU6050 and the MPU6050_light library. It is solved by replugging the usb cable between computer and MCU.
The status codes come from the endTransmission call from the Wire library:
status 2: received NACK on transmit of address
status 5: timeout
The onboard mpu occasionally gives status 2 or 5 after the MCU was restarted. This happens with both the MPU6050 and the MPU6050_light library. It is solved by replugging the usb cable between computer and MCU. The status codes come from the endTransmission call from the Wire library: status 2: received NACK on transmit of address status 5: timeout