Example program for LPC General Purpose Shield using the LM75 temperature sensor

Dependencies:   LM75B mbed

Fork of app-shield-LM75B by Chris Styles

Revision:
9:1b67a57e8fc0
Parent:
8:e0f3f151c3cc
--- a/main.cpp	Fri Aug 01 14:29:15 2014 +0000
+++ b/main.cpp	Mon Jul 27 06:44:55 2015 +0000
@@ -1,17 +1,14 @@
 #include "mbed.h"
 #include "LM75B.h"
-#include "C12832.h"
 
 // Using Arduino pin notation
-C12832 lcd(D11, D13, D12, D7, D10);
-LM75B sensor(D14,D15);
+LM75B sensor(D14,D15, LM75B::ADDRESS_4);
+Serial pc(USBTX, USBRX);
 
 int main ()
 {
     while (1) {
-        lcd.cls();
-        lcd.locate(0,3);
-        lcd.printf("Temp = %.1f\n", sensor.temp());
+        pc.printf("Temp = %.1f\n", sensor.temp());
         wait(1.0);
     }
 }