Skip to content

Commit

Permalink
Merge pull request #278 from k1l1/patch-1
Browse files Browse the repository at this point in the history
Unknown function is actually setting start address
  • Loading branch information
jrowberg authored Dec 4, 2016
2 parents 615f132 + 32e1ca0 commit 5e6f3d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Arduino/MPU6050/MPU6050_6Axis_MotionApps20.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,10 @@ uint8_t MPU6050::dmpInitialize() {
DEBUG_PRINTLN(F("Setting gyro sensitivity to +/- 2000 deg/sec..."));
setFullScaleGyroRange(MPU6050_GYRO_FS_2000);

DEBUG_PRINTLN(F("Setting DMP configuration bytes (function unknown)..."));
DEBUG_PRINTLN(F("Setting DMP programm start address"));
//write start address MSB into register
setDMPConfig1(0x03);
//write start address LSB into register
setDMPConfig2(0x00);

DEBUG_PRINTLN(F("Clearing OTP Bank flag..."));
Expand Down

0 comments on commit 5e6f3d6

Please sign in to comment.