MPU6050

Dependencies:   mbed

main.cpp

Committer:
sweilz
Date:
2015-11-26
Revision:
1:01875db196ca
Parent:
0:7cb0dd65130a

File content as of revision 1:01875db196ca:

#include "mbed.h"
#include "MPU6050.h"

DigitalOut myled(LED1);
Serial pc(USBTX, USBRX);
MPU6050 mpu;


int main()
{
    pc.printf("MPU6050 test\n\n");
    pc.printf("MPU6050 initialize \n");

    mpu.init();
    mpu.whoAmI();
    pc.printf("MPU6050 testConnection \n");
}