An example program for the mbed application board that uses the LM75B to measure the ambient temperature

Dependencies:   mbed C12832 LM75B

Fork of LM75B_test by Tedd OKANO

Files at this revision

API Documentation at this revision

Comitter:
chris
Date:
Thu Feb 06 14:05:51 2014 +0000
Parent:
4:6df97cb10041
Commit message:
Modified to use the generic C12832 LCD library

Changed in this revision

C12832.lib Show annotated file Show diff for this revision Revisions of this file
C12832_lcd.lib Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 6df97cb10041 -r 608f2bf4d3f7 C12832.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/C12832.lib	Thu Feb 06 14:05:51 2014 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/chris/code/C12832/#7de323fa46fe
diff -r 6df97cb10041 -r 608f2bf4d3f7 C12832_lcd.lib
--- a/C12832_lcd.lib	Tue Oct 29 06:51:26 2013 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/dreschpe/code/C12832_lcd/#468cdccff7af
diff -r 6df97cb10041 -r 608f2bf4d3f7 main.cpp
--- a/main.cpp	Tue Oct 29 06:51:26 2013 +0000
+++ b/main.cpp	Thu Feb 06 14:05:51 2014 +0000
@@ -1,8 +1,9 @@
 #include "mbed.h"
 #include "LM75B.h"
-#include "C12832_lcd.h"
+#include "C12832.h"
 
-C12832_LCD lcd;
+C12832 lcd(p5, p7, p6, p8, p11);
+
 LM75B sensor(p28,p27);
 Serial pc(USBTX,USBRX);