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.
main.cpp
00001 #include "mbed.h" 00002 00003 // Read temperature from LM75BD 00004 00005 I2C i2c(D14, D15); 00006 Serial pc(SERIAL_TX, SERIAL_RX); //TODo fice this pc host iissue 00007 00008 #include "OPT3101device.h " 00009 00010 // main() runs in its own thread in the OS 00011 00012 int main() 00013 { 00014 host.printf("-------------------------------\r\n"); 00015 host.printf("Starting Main Program Execution\r\n"); 00016 host.printf("-------------------------------\r\n"); 00017 00018 OPT3101::device dev; ///* Declared variable dev of class OPT3101::device 00019 dev.resetInitAndViewData(3000, false); 00020 while (true) { 00021 00022 } 00023 }
Generated on Sun Jul 17 2022 05:22:03 by
1.7.2