Dependencies:   TextLCD mbed

Files at this revision

API Documentation at this revision

Comitter:
takahashim
Date:
Mon Feb 27 06:35:31 2012 +0000
Commit message:

Changed in this revision

TextLCD.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
diff -r 000000000000 -r 737775c5fc00 TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Mon Feb 27 06:35:31 2012 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37
diff -r 000000000000 -r 737775c5fc00 main.cpp
--- /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);
+    }
+}
diff -r 000000000000 -r 737775c5fc00 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Feb 27 06:35:31 2012 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/078e4b97a13e