Utilities for i2c data connection. This is ported from https://github.com/jrowberg/i2cdevlib.

Dependents:   Adafruit_IS31FL3731

Fork of I2Cdev by Shundo Kishi

Files at this revision

API Documentation at this revision

Comitter:
DVLevine
Date:
Tue Mar 13 01:11:24 2018 +0000
Parent:
0:3aa973ebe3e5
Commit message:
pin change revision to make library compatible with MAX32630 FTHR Pegasus.

Changed in this revision

I2Cdev.h Show annotated file Show diff for this revision Revisions of this file
diff -r 3aa973ebe3e5 -r 4f3229ab88a6 I2Cdev.h
--- a/I2Cdev.h	Sun Jan 31 13:52:23 2016 +0000
+++ b/I2Cdev.h	Tue Mar 13 01:11:24 2018 +0000
@@ -11,8 +11,8 @@
 
 #include "mbed.h"
 
-#define I2C_SDA p28
-#define I2C_SCL p27
+#define I2C_SDA P3_4
+#define I2C_SCL P3_5
 
 class I2Cdev {
     private: