asdfsaf

Dependencies:   MPU6050-DMP-Ian mbed-rtos mbed

DMP.h

Committer:
majik
Date:
2014-05-27
Revision:
0:dceb852b19f3

File content as of revision 0:dceb852b19f3:

#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