Isis Proteus Model Library Gy 521 Mpu6050 Upd
void loop() mpu6050.update(); Serial.print("accelX = "); Serial.print(mpu6050.getAccX()); Serial.print(" accelY = "); Serial.print(mpu6050.getAccY()); Serial.print(" accelZ = "); Serial.println(mpu6050.getAccZ()); delay(100);
If you are using this model with Arduino in Proteus, you will also need the corresponding code library for your sketch: Adafruit MPU6050 Library isis proteus model library gy 521 mpu6050 upd