Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 0:7cb0dd65130a
diff -r 000000000000 -r 7cb0dd65130a main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Nov 26 15:16:47 2015 +0000 @@ -0,0 +1,17 @@ +#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"); +}