![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
I2C not yet integrated
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
Diff: main.cpp
- Revision:
- 5:8aa0f4e6788c
- Parent:
- 4:85017622b676
diff -r 85017622b676 -r 8aa0f4e6788c main.cpp --- a/main.cpp Thu Dec 08 21:42:33 2016 +0000 +++ b/main.cpp Thu Dec 08 21:48:29 2016 +0000 @@ -7,9 +7,9 @@ Serial pc(USBTX, USBRX, 9600); //These pins for the nucleo nucleo f401re -LTC2991 *ltc0 = new LTC2991(I2C_SDA, I2C_SCL); -LTC2991 *ltc1 = new LTC2991(PB_3, PB_10); -LTC2991 *ltc2 = new LTC2991(PA_8, PB_4); +//LTC2991 *ltc0 = new LTC2991(I2C_SDA, I2C_SCL); +//LTC2991 *ltc1 = new LTC2991(PB_3, PB_10); +LTC2991 *ltc2 = new LTC2991(PB_4, PA_8); //void setup();