juego 2

Dependencies:   mbed MPU6050

Files at this revision

API Documentation at this revision

Comitter:
OnacSerdna
Date:
Thu Nov 22 12:18:57 2018 +0000
Parent:
2:205af2fe4225
Commit message:
ok;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 205af2fe4225 -r e936c097685c main.cpp
--- a/main.cpp	Sat Nov 17 21:36:40 2018 +0000
+++ b/main.cpp	Thu Nov 22 12:18:57 2018 +0000
@@ -3,7 +3,7 @@
 SPI deviceM(PB_15, PB_14, PB_13);
 DigitalOut ssel (PB_12);
 Serial a(USBTX,USBRX);
-MPU6050 Wire(PB_9,PB_8);
+MPU6050 Wire(PB_9,PB_8); //SDA&SCL
 InterruptIn iz(PA_14);
 InterruptIn de(PA_13);
 #define  uint8_t unsigned char