BroBot Code for ESE350 Lab6 part 3 (Skeleton)
Dependencies: MPU6050_V3 mbed-rtos mbed
Fork of BroBot_RTOS_ESE350 by
main.cpp@2:42c4f3a7813f, 2016-01-31 (annotated)
- Committer:
- syundo0730
- Date:
- Sun Jan 31 14:12:13 2016 +0000
- Revision:
- 2:42c4f3a7813f
- Parent:
- 1:ec0a08108442
- Child:
- 3:2f76ffbc5cef
integrated the example for DMP and raw value
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
syundo0730 | 2:42c4f3a7813f | 1 | //#include "MPU6050_DMP6.h" |
syundo0730 | 0:8d2c753a96e7 | 2 | // |
syundo0730 | 2:42c4f3a7813f | 3 | //int main() { |
syundo0730 | 2:42c4f3a7813f | 4 | // MPU6050DMP6::setup(); |
syundo0730 | 2:42c4f3a7813f | 5 | // while(1) { |
syundo0730 | 2:42c4f3a7813f | 6 | // MPU6050DMP6::loop(); |
syundo0730 | 2:42c4f3a7813f | 7 | // } |
syundo0730 | 2:42c4f3a7813f | 8 | //} |
syundo0730 | 0:8d2c753a96e7 | 9 | |
syundo0730 | 2:42c4f3a7813f | 10 | #include "MPU6050_raw.h" |
syundo0730 | 0:8d2c753a96e7 | 11 | |
syundo0730 | 0:8d2c753a96e7 | 12 | int main() { |
syundo0730 | 2:42c4f3a7813f | 13 | MPU6050raw::setup(); |
syundo0730 | 0:8d2c753a96e7 | 14 | while(1) { |
syundo0730 | 2:42c4f3a7813f | 15 | MPU6050raw::loop(); |
syundo0730 | 0:8d2c753a96e7 | 16 | } |
syundo0730 | 0:8d2c753a96e7 | 17 | } |