BroBot Code for ESE350 Lab6 part 3 (Skeleton)
Dependencies: MPU6050_V3 mbed-rtos mbed
Fork of BroBot_RTOS_ESE350 by
Diff: BroBot_IMU.h
- Revision:
- 11:2553f5798f84
- Parent:
- 6:62cdb7482b50
- Child:
- 15:d6d7623a17f8
--- a/BroBot_IMU.h Tue Jan 10 21:10:39 2017 +0000 +++ b/BroBot_IMU.h Thu Jan 19 19:18:54 2017 +0000 @@ -10,6 +10,7 @@ MPU6050 mpu; //MPU6050 mpu(0x69); // <-- use for AD0 `high // MPU control/status vars +#include "rtos_definations.h" float angle, angle_old; bool dmpReady = false; // set true if DMP init was successful @@ -63,4 +64,5 @@ void dmpDataReady() { mpuInterrupt = true; + osSignalSet(imu_update_thread_ID,IMU_UPDATE_SIGNAL); } \ No newline at end of file