MPU6050 DMP sample code.

Dependencies:   MPU6050-DMP-Ian mbed

Files at this revision

API Documentation at this revision

Comitter:
Match314
Date:
Sun Feb 22 03:09:44 2015 +0000
Parent:
1:ea5ef4879bc4
Commit message:
add comment

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r ea5ef4879bc4 -r 7ef42101b204 main.cpp
--- a/main.cpp	Sat Jan 31 07:30:09 2015 +0000
+++ b/main.cpp	Sun Feb 22 03:09:44 2015 +0000
@@ -31,8 +31,8 @@
 
 
 RawSerial pc(USBTX, USBRX);
-MPU6050 mpu(dp5, dp27);
-InterruptIn INT0(dp13);
+MPU6050 mpu(dp5, dp27);     // sda, scl pin
+InterruptIn INT0(dp13);     // INT0 pin
 
 const int FIFO_BUFFER_SIZE = 128;
 uint8_t fifoBuffer[FIFO_BUFFER_SIZE];