• It's not just that code that's running if you're getting that error.

    As it says, it's to do with I2C. It happens when you're trying to access an I2C device that isn't connected. I guess somehow you have still got the other code running.

    Are you sure that is all you're uploading?

    If the MPU6050 is still connected then you'll need to check your I2C wiring as well - that could explain a lot.

About

Avatar for Gordon @Gordon started