I2C not yet integrated

Dependencies:   mbed

Tested working with single and differential voltages.

Connect SCL (pin 11) to D15 Connect SDA (pin 10) to D14 Connect pin 16 to +5v Connect pin 9 to gnd

Revision:
4:85017622b676
Parent:
2:c9e727dcd00e
Child:
5:8aa0f4e6788c
--- a/LTC2991.cpp	Thu Dec 08 19:58:24 2016 +0000
+++ b/LTC2991.cpp	Thu Dec 08 21:42:33 2016 +0000
@@ -78,7 +78,7 @@
 }
 
 LTC2991::LTC2991(PinName i2c_scl_, PinName i2c_sda_) {
-    lti2c = new LT_I2C(i2c_scl_, i2c_sda_);
+    lti2c = new LT_I2C(i2c_sda_, i2c_scl_);
 }
 
 // Reads a 14-bit adc_code from LTC2991.