Data Capture test for Polulu Minimu. Works with the Python visualization software.
Fork of minimu_data_capture by
Diff: main.cpp
- Revision:
- 0:dfae6c14cbeb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Jan 20 02:05:37 2015 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" +#include "minimu9.h" + +DigitalOut myled(LED1); + +int main() { + minimu9 imu; + while(1) { + bool res = imu.update(); + if(res==false) printf("Update failed!"); + else printf("Update Succeeded!"); + } +}