![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
asdfsaf
Dependencies: MPU6050-DMP-Ian mbed-rtos mbed
DMP.h@0:dceb852b19f3, 2014-05-27 (annotated)
- Committer:
- majik
- Date:
- Tue May 27 09:23:23 2014 +0000
- Revision:
- 0:dceb852b19f3
dfsasf
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
majik | 0:dceb852b19f3 | 1 | #ifndef DMP_H |
majik | 0:dceb852b19f3 | 2 | #define DMP_H |
majik | 0:dceb852b19f3 | 3 | |
majik | 0:dceb852b19f3 | 4 | extern volatile bool mpuInterrupt; //indicates whether interrupt pin has gone high |
majik | 0:dceb852b19f3 | 5 | extern uint16_t packetSize; // expected DMP packet size (default is 42 bytes) |
majik | 0:dceb852b19f3 | 6 | extern uint16_t fifoCount; // count of all bytes currently in FIFO |
majik | 0:dceb852b19f3 | 7 | |
majik | 0:dceb852b19f3 | 8 | int test_dmp(); |
majik | 0:dceb852b19f3 | 9 | void start_dmp(MPU6050); //this will get the DMP ready |
majik | 0:dceb852b19f3 | 10 | void update_dmp(MPU6050); //call this frequently |
majik | 0:dceb852b19f3 | 11 | |
majik | 0:dceb852b19f3 | 12 | #endif |