Revision ecdc6229
examples/restore_offsets/restore_offsets.ino | ||
---|---|---|
204 | 204 |
/* Optional: Display current status */ |
205 | 205 |
displaySensorStatus(); |
206 | 206 |
|
207 |
//Crystal must be configured AFTER loading calibration data into BNO055.
|
|
207 |
/* Crystal must be configured AFTER loading calibration data into BNO055. */
|
|
208 | 208 |
bno.setExtCrystalUse(true); |
209 | 209 |
|
210 | 210 |
sensors_event_t event; |
211 | 211 |
bno.getEvent(&event); |
212 |
/* always recal the mag as It goes out of calibration very often */ |
|
212 | 213 |
if (foundCalib){ |
213 | 214 |
Serial.println("Move sensor slightly to calibrate magnetometers"); |
214 | 215 |
while (!bno.isFullyCalibrated()) |
Also available in: Unified diff