#include <Adafruit_MPU6050.h>
#include <Wire.h>
#include <Adafruit_Sensor.h>
Adafruit_MPU6050 m_p_u;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
while(!Serial)
delay(20);
if(!m_p_u.begin()){
while(1){
delay(20);
}
}
}
void loop() {
// put your main code here, to run repeatedly:
delay(10);
}