Hexcopter distance measurement using IMU unit
Dependencies: mbed MPU6050_acc_CF ledControl
main.cpp@0:ecc07e53ba65, 2016-05-31 (annotated)
- Committer:
- mbedproject
- Date:
- Tue May 31 04:52:50 2016 +0000
- Revision:
- 0:ecc07e53ba65
- Child:
- 1:54b66b7ca11e
Hexcopter distance measurement using IMU
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbedproject | 0:ecc07e53ba65 | 1 | #include "mbed.h" |
mbedproject | 0:ecc07e53ba65 | 2 | |
mbedproject | 0:ecc07e53ba65 | 3 | Timer t; |
mbedproject | 0:ecc07e53ba65 | 4 | |
mbedproject | 0:ecc07e53ba65 | 5 | int main() |
mbedproject | 0:ecc07e53ba65 | 6 | { |
mbedproject | 0:ecc07e53ba65 | 7 | t.start(); |
mbedproject | 0:ecc07e53ba65 | 8 | printf("Hello World!\n"); |
mbedproject | 0:ecc07e53ba65 | 9 | t.stop(); |
mbedproject | 0:ecc07e53ba65 | 10 | printf("The time taken was %f seconds\n", t.read()); |
mbedproject | 0:ecc07e53ba65 | 11 | } |