LM75B LBS-Ebiswald

Dependencies:   C12832_lcd LM75B mbed

Fork of LM75B-HelloWorld by Chris Styles

Files at this revision

API Documentation at this revision

Comitter:
wipflhan
Date:
Tue Dec 03 10:39:13 2013 +0000
Parent:
4:02cf3a06a13e
Commit message:
LBS-Eibiswald

Changed in this revision

C12832_lcd.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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/C12832_lcd.lib	Tue Dec 03 10:39:13 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/dreschpe/code/C12832_lcd/#8f86576007d6
--- a/main.cpp	Fri Oct 26 21:57:09 2012 +0000
+++ b/main.cpp	Tue Dec 03 10:39:13 2013 +0000
@@ -1,12 +1,19 @@
 #include "mbed.h"
 #include "LM75B.h"
+#include "C12832_lcd.h"
 
 LM75B tmp(p28,p27);
+C12832_LCD lcd;
 
 int main ()
 {
     while (1) {
+        
+        lcd.cls();
         printf("%.2f\n",tmp.read());
+        
+        lcd.locate(0,3);
+        lcd.printf("%.2f\n",tmp.read());
         wait(1.0);
     }
 }