This lib was build for reading the 3 IMU unit sensors of Altimu10v4 board (https://www.pololu.com/product/2470).
Diff: ALTIMU.cpp
- Revision:
- 2:3e874281c0f0
- Parent:
- 1:8cc36ccb8d58
- Child:
- 3:3613e9a0edb1
diff -r 8cc36ccb8d58 -r 3e874281c0f0 ALTIMU.cpp --- a/ALTIMU.cpp Mon Oct 15 05:26:28 2018 +0000 +++ b/ALTIMU.cpp Tue Oct 16 00:16:05 2018 +0000 @@ -101,7 +101,7 @@ __enable_irq(); return result; } - + // Read n bytes from mem address. bool Altimu::recv(char sad, char sub, char *buf, int length) { if (length > 1) sub |= 0x80;