mirror of
https://github.com/okalachev/flix.git
synced 2026-01-11 21:46:55 +00:00
Print the IMU information in imu command
This commit is contained in:
@@ -122,3 +122,8 @@ void printIMUCal() {
|
||||
Serial.printf("accel bias: %f %f %f\n", accBias.x, accBias.y, accBias.z);
|
||||
Serial.printf("accel scale: %f %f %f\n", accScale.x, accScale.y, accScale.z);
|
||||
}
|
||||
|
||||
void printIMUInfo() {
|
||||
Serial.printf("type: %s\n", IMU.getType());
|
||||
Serial.printf("who am I: 0x%02X\n", IMU.whoAmI());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user