Device to measure angle and get IMU measurements.
Dependencies: mbed commands BLE_API nRF51822
main.cpp@6:75263c93daf7, 2015-06-07 (annotated)
- Committer:
- dkester
- Date:
- Sun Jun 07 21:58:02 2015 +0000
- Revision:
- 6:75263c93daf7
- Parent:
- 5:46947b447701
- Child:
- 8:c6345e8d607c
Working 7 juni
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dkester | 0:1c5088dae6e1 | 1 | #include "mbed.h" |
dkester | 4:2a5a08b14539 | 2 | #include "Controller.h" |
dkester | 0:1c5088dae6e1 | 3 | |
dkester | 0:1c5088dae6e1 | 4 | |
dkester | 0:1c5088dae6e1 | 5 | int main(void) |
dkester | 5:46947b447701 | 6 | { |
dkester | 6:75263c93daf7 | 7 | wait(2); |
dkester | 4:2a5a08b14539 | 8 | Controller* goniometer = new Controller(); |
dkester | 2:871b5efb2043 | 9 | |
dkester | 0:1c5088dae6e1 | 10 | while(true) { |
dkester | 5:46947b447701 | 11 | goniometer->run(); |
dkester | 0:1c5088dae6e1 | 12 | } |
dkester | 0:1c5088dae6e1 | 13 | } |
dkester | 0:1c5088dae6e1 | 14 | |
dkester | 0:1c5088dae6e1 | 15 |