Dependencies:   TextLCD mbed

Revision:
0:737775c5fc00
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Feb 27 06:35:31 2012 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+#include "TextLCD.h"
+
+AnalogIn ain(p15);
+DigitalOut myled(LED1);
+TextLCD lcd(p24, p26, p27, p28, p29, p30);
+float temp;
+
+int main() {
+    while(1) {
+        temp = ain * 3.3 * 100;
+        lcd.cls();
+        lcd.locate(0,0);
+        lcd.printf("temp: %4.2f",temp);
+        wait(1);
+    }
+}