lib for working with ltc2991s

Dependents:   ece495_firmware

Fork of ltc2991_test by Logan Rooper

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.