diff --git a/v1/main/main.ino b/v1/main/main.ino index 5394d5606a5864b868dbac747a6bbab7e3cf18b8..7ff4db97828eadcfd9bf81c18e648965ca16d124 100644 --- a/v1/main/main.ino +++ b/v1/main/main.ino @@ -197,7 +197,7 @@ if(j == 0) ; // PLL with X axis gyroscope reference and disable sleep mode while (i2cRead(0x75, i2cData, 1)) ; - if (i2cData[0] != 0x68) + if (i2cData[0] != 0x68 && i2cData[0] != 0x70) { // Read "WHO_AM_I" register Serial.print(F("Error reading sensor")); while (1) diff --git a/v2/main/main.ino b/v2/main/main.ino index 560636a7868d97ff6e16b5b9cc4242f820db0553..26c47ad7425e5489ee305e01668f46d524db97de 100644 --- a/v2/main/main.ino +++ b/v2/main/main.ino @@ -263,7 +263,7 @@ if(j == 0) ; // PLL with X axis gyroscope reference and disable sleep mode while (i2cRead(0x75, i2cData, 1)) ; - if (i2cData[0] != 0x68) + if (i2cData[0] != 0x68 && i2cData[0] != 0x70) { // Read "WHO_AM_I" register Serial.print(F("Error reading sensor")); while (1) diff --git a/v3/main/main.ino b/v3/main/main.ino index eab5b8fae161787ed733347e89ae96ea83bc6a31..b825e75901733ad9bb6f748ef41c7e33ea0f96e0 100644 --- a/v3/main/main.ino +++ b/v3/main/main.ino @@ -349,7 +349,7 @@ void setup() { ; // PLL with X axis gyroscope reference and disable sleep mode while (i2cRead(0x75, i2cData, 1)) ; - if (i2cData[0] != 0x68) { // Read "WHO_AM_I" register + if (i2cData[0] != 0x68 && i2cData[0] != 0x70) { // Read "WHO_AM_I" register Serial.print(F("Error reading sensor")); while (1) ;