BULME

Dependencies:   mbed LM75B

Files at this revision

API Documentation at this revision

Comitter:
wf
Date:
Tue Sep 17 08:52:59 2019 +0000
Parent:
5:608f2bf4d3f7
Commit message:
BULME

Changed in this revision

C12832.lib Show diff for this revision Revisions of this file
LM75B.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/C12832.lib	Thu Feb 06 14:05:51 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://mbed.org/users/chris/code/C12832/#7de323fa46fe
--- a/LM75B.lib	Thu Feb 06 14:05:51 2014 +0000
+++ b/LM75B.lib	Tue Sep 17 08:52:59 2019 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/neilt6/code/LM75B/#fc27dc535ea9
+https://os.mbed.com/users/neilt6/code/LM75B/#7ac462ba84ac
--- a/main.cpp	Thu Feb 06 14:05:51 2014 +0000
+++ b/main.cpp	Tue Sep 17 08:52:59 2019 +0000
@@ -1,23 +1,17 @@
 #include "mbed.h"
 #include "LM75B.h"
-#include "C12832.h"
-
-C12832 lcd(p5, p7, p6, p8, p11);
 
 LM75B sensor(p28,p27);
 Serial pc(USBTX,USBRX);
 
 int main ()
 {
-
+    pc.baud(9600);
     //Try to open the LM75B
     if (sensor.open()) {
-        printf("Device detected!\n");
-
+        pc.printf("Device detected!\n");
         while (1) {
-            lcd.cls();
-            lcd.locate(0,3);
-            lcd.printf("Temp = %.3f\n", (float)sensor);
+          pc.printf("Temp = %.3f\n", (float)sensor.temp());
             wait(1.0);
         }
 
--- a/mbed.bld	Thu Feb 06 14:05:51 2014 +0000
+++ b/mbed.bld	Tue Sep 17 08:52:59 2019 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/49a220cc26e0
+https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187
\ No newline at end of file