#include <Adafruit_MPU6050.h>


Adafruit_MPU6050 mpu;




void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  

  Serial.println("Adafruit MPU6050 test!");

  // Try to initialize!
  if (!mpu.begin()) {
    Serial.println("Failed to find MPU6050 chip");
    while (1) {
      delay(10);
    }
  }
  Serial.println("MPU6050 Found!");
}

void loop() {
  // put your main code here, to run repeatedly:

}
Loading
st-nucleo-l031k6