Ted Grosch
/
Nucleo_TOF_I2C_DISCO
Export to MBED Studio for DISCO Board
Diff: main.cpp
- Revision:
- 3:4e641a32e087
- Parent:
- 2:f30187bb3fbd
diff -r f30187bb3fbd -r 4e641a32e087 main.cpp --- a/main.cpp Sun Oct 25 10:16:43 2020 +0000 +++ b/main.cpp Sun Oct 25 10:43:09 2020 +0000 @@ -3,7 +3,7 @@ // Read temperature from LM75BD //I2C i2c(D14, D15); // for NUCLEO board -I2C i2c(PB_6, PB_7); // for Disco +I2C i2c1(PB_6, PB_7); // for Disco Serial pc(SERIAL_TX, SERIAL_RX); //TODo fice this pc host iissue #include "OPT3101device.h"