asdfsaf
Dependencies: MPU6050-DMP-Ian mbed-rtos mbed
Diff: DMP.h
- Revision:
- 0:dceb852b19f3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DMP.h Tue May 27 09:23:23 2014 +0000 @@ -0,0 +1,12 @@ +#ifndef DMP_H +#define DMP_H + +extern volatile bool mpuInterrupt; //indicates whether interrupt pin has gone high +extern uint16_t packetSize; // expected DMP packet size (default is 42 bytes) +extern uint16_t fifoCount; // count of all bytes currently in FIFO + +int test_dmp(); +void start_dmp(MPU6050); //this will get the DMP ready +void update_dmp(MPU6050); //call this frequently + +#endif \ No newline at end of file