![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
New Version with OS5
main.cpp
- Committer:
- tgrosch
- Date:
- 2020-10-25
- Revision:
- 0:62b846b3988a
- Child:
- 1:8567a29d4699
File content as of revision 0:62b846b3988a:
#include "mbed.h" // Read temperature from LM75BD I2C i2c(D14, D15); Serial pc(SERIAL_TX, SERIAL_RX); #include "OPT3101device.h" // main() runs in its own thread in the OS int main() { host.printf("-------------------------------\r\n"); host.printf("Starting Main Program Execution\r\n"); host.printf("-------------------------------\r\n"); OPT3101::device dev; ///* Declared variable dev of class OPT3101::device dev.resetInitAndViewData(3000, false); while (true) { } }