#73 add support for MPU6500
This commit is contained in:
@ -66,7 +66,7 @@ void MPU6050_Base::initialize() {
|
||||
* @return True if connection is valid, false otherwise
|
||||
*/
|
||||
bool MPU6050_Base::testConnection() {
|
||||
return getDeviceID() == 0x34;
|
||||
return getDeviceID() == 0x34 || getDeviceID() == 0x38; // Allow both MPU6050 and MPU6000
|
||||
}
|
||||
|
||||
// AUX_VDDIO register (InvenSense demo code calls this RA_*G_OFFS_TC)
|
||||
|
Reference in New Issue
Block a user