Skip to content

Commit 2f4edf7

Browse files
authored
Merge pull request #12 from shantanoo-desai/master
setupSensor() function created but never called
2 parents 5852be5 + f242b29 commit 2f4edf7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/lsm9doftest/lsm9doftest.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ void setup()
4949
Serial.println("Found LSM9DS0 9DOF");
5050
Serial.println("");
5151
Serial.println("");
52+
Serial.println("Setting up LSM9DS0 9DOF");
53+
setupSensor();
54+
delay(1);
5255
}
5356

5457
void loop()
@@ -66,4 +69,4 @@ void loop()
6669
Serial.print("Z: "); Serial.println((int)lsm.gyroData.z); Serial.println(" ");
6770
Serial.print("Temp: "); Serial.print((int)lsm.temperature); Serial.println(" ");
6871
delay(200);
69-
}
72+
}

0 commit comments

Comments
 (0)