tockn / MPU6050_tockn

Arduino library for easy communication with MPU6050
226 stars 89 forks source link

Minor tweak to make recent Arduino IDEs on ESP 32's happy. #10

Closed dirkx closed 5 years ago

dirkx commented 6 years ago

Just compiler crufting (these warns are treated as errors by recent Arduino IDEs).

DJQuardaboff commented 6 years ago

Why not just start the request at the GYRO_XOUT_H address (0x43)? Then you can just remove all 8 unused wire->read()'s.

tormes commented 5 years ago

Perhaps the raw accelerometer values could be used to calculate accels offsets in X, Y ,Z, and doing so, the routine name could be "calibrate" or similar.

tockn commented 5 years ago

Sorry for late. I'll check it weekend.

tockn commented 5 years ago

This issue is resolved by #14 Thank you for your contribution!