For test MPU6050

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Shikaneo
Date:
Tue Jul 08 05:44:14 2014 +0000
Parent:
0:897889ddd75a
Commit message:
*modified baudrate; *add mbed lib

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 897889ddd75a -r 30c935175814 main.cpp
--- a/main.cpp	Tue Jul 08 05:38:58 2014 +0000
+++ b/main.cpp	Tue Jul 08 05:44:14 2014 +0000
@@ -5,6 +5,7 @@
 I2C i2c(p28,p27);
 
 int main() {
+    pc.baud(921600);
     pc.printf("HelloWorld!!\n\r");
     MPU6050 dev(&i2c);
     i2c.frequency(400000);
diff -r 897889ddd75a -r 30c935175814 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Jul 08 05:44:14 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/04dd9b1680ae
\ No newline at end of file