Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ltc2991_test by
Diff: main.cpp
- Revision:
- 3:34e56211d5b6
- Parent:
- 2:c9e727dcd00e
- Child:
- 4:85017622b676
diff -r c9e727dcd00e -r 34e56211d5b6 main.cpp --- a/main.cpp Tue Dec 06 18:34:46 2016 +0000 +++ b/main.cpp Thu Dec 08 19:58:24 2016 +0000 @@ -1,11 +1,12 @@ #include "mbed.h" -#include "LTC2991.h" +#include "LTC2991.h" #include <stdarg.h> int8_t ack; // 0 == ack, 1 == no ack const uint16_t LTC2991_TIMEOUT=1000; //!< Configures the maximum timeout allowed for an LTC2991 read. 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(PB_4, PA_8);
