Data Capture test for Polulu Minimu. Works with the Python visualization software.

Dependencies:   DCM_AHRS mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "minimu9.h"
00003 
00004 DigitalOut myled(LED1);
00005 
00006 int main() {
00007     minimu9 imu;
00008     while(1) {
00009         bool res = imu.update();
00010         if(res==false) printf("Update failed!");
00011         else printf("Update Succeeded!");
00012     }
00013 }