Example test suite for my ADIS16467 driver.
ADIS16467 Driver Example Tests
These examples show how to use some of the functionality in my ADIS16467 driver. To get started with MBed CLI:
Build Instructions
$ hg clone https://yhnrita@os.mbed.com/users/yhnrita/code/ADIS16467-Tests/ $ cd ADIS16467-Tests $ mbed deploy $ mbed compile
Diff: ADIS16467TestSuite.h
- Revision:
- 0:38da6269ed5c
diff -r 000000000000 -r 38da6269ed5c ADIS16467TestSuite.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ADIS16467TestSuite.h Fri Feb 21 00:36:41 2020 -0800 @@ -0,0 +1,25 @@ +/* + USC RPL ADIS16467 Test Suite + Contributors: Rita Yang +*/ + +#pragma once + +#include <ADIS16467.h> +#include "mbed.h" +#include "MODSERIAL.h" +#include <SerialPort.h> + +class ADIS16467TestSuite { +public: + void test_readData(); + void test_printFlags(); + void test_burstRead(); + void test_readFlags(); + void test_sensorSelfTest(); + void test_setPoll(uint16_t pollRate); + void test_calibrateBias(); + void test_existence(); + void test_firmInfo(); + ADIS16467::ADIS16467 * imu; +};