Changed SDA/SCL to more generic values

Fork of MPU6050 by Simon Garfieldsg

Files at this revision

API Documentation at this revision

Comitter:
amq
Date:
Mon Nov 07 10:20:37 2016 +0000
Parent:
2:429ef569d7c4
Commit message:
Added carriage returns

Changed in this revision

MPU6050.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MPU6050.cpp	Mon Nov 07 09:58:25 2016 +0000
+++ b/MPU6050.cpp	Mon Nov 07 10:20:37 2016 +0000
@@ -79,7 +79,7 @@
 {
 
 #ifdef useDebugSerial
-    debugSerial.printf("MPU6050::initialize start\n");
+    debugSerial.printf("MPU6050::initialize start\r\n");
 #endif
 
     setClockSource(MPU6050_CLOCK_PLL_XGYRO);
@@ -88,7 +88,7 @@
     setSleepEnabled(false); // thanks to Jack Elston for pointing this one out!
 
 #ifdef useDebugSerial
-    debugSerial.printf("MPU6050::initialize end\n");
+    debugSerial.printf("MPU6050::initialize end\r\n");
 #endif
 }
 
@@ -99,11 +99,11 @@
 bool MPU6050::testConnection()
 {
 #ifdef useDebugSerial
-    debugSerial.printf("MPU6050::testConnection start\n");
+    debugSerial.printf("MPU6050::testConnection start\r\n");
 #endif
     uint8_t deviceId = getDeviceID();
 #ifdef useDebugSerial
-    debugSerial.printf("DeviceId = %d\n",deviceId);
+    debugSerial.printf("DeviceId = %d\r\n",deviceId);
 #endif
     return deviceId == 0x34;
 }