|
|
@@ -37,6 +37,7 @@ LSM6DS3 myIMU(I2C_MODE, 0x6A); //I2C device address 0x6A
|
|
|
void setup() {
|
|
|
// put your setup code here, to run once:
|
|
|
Serial.begin(9600);
|
|
|
+ while (!Serial);
|
|
|
//Call .begin() to configure the IMUs
|
|
|
if (myIMU.begin() != 0) {
|
|
|
Serial.println("Device error");
|
|
|
@@ -72,4 +73,4 @@ void loop() {
|
|
|
Serial.println(myIMU.readTempF(), 4);
|
|
|
|
|
|
delay(1000);
|
|
|
-}
|
|
|
+}
|