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:
- 2:ca014ee9f00a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ADIS16467TestSuite.h Fri Feb 21 18:24:44 2020 -0800 @@ -0,0 +1,23 @@ +/* + USC RPL ADIS16467 Test Suite + Contributors: Rita Yang +*/ + +#pragma once + +#include <ADIS16467.h> +#include "mbed.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; +};