최대 1 분 소요

Issue


MPU-6050

Read accel, temp and gyro, error = 2

accel x,y,z: -248, 3842, 0

temperature: 113.306 degrees Celsius

gyro x,y,z : 25344, -17385, -16574,


MPU6050의 AD0핀을 Arduino의 GND에 연결하면 해결됩니다.

solution link

Some MPU6050 device should be connect AD0 to GND(arduino) like below.

image

MPU6050_read…. (아래 빨간부분에서 에러를 리턴하는것 같네요)