Dependencies:   mbed I2cLCD

Files at this revision

API Documentation at this revision

Comitter:
jksoft
Date:
Sun Jul 04 07:32:32 2010 +0000
Commit message:

Changed in this revision

I2cLCD.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 007840739876 I2cLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/I2cLCD.lib	Sun Jul 04 07:32:32 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/jksoft/code/I2cLCD/#b3cc6ae3dfd8
diff -r 000000000000 -r 007840739876 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Jul 04 07:32:32 2010 +0000
@@ -0,0 +1,19 @@
+#include "mbed.h"
+#include "I2cLCD.h"
+
+I2cLCD lcd(p28, p27, p29); //sda scl reset
+AnalogIn ain(p15);
+
+int main() {
+    float tmp;
+    
+    while(1) {
+        lcd.locate(0,0);
+        tmp = (ain - 0.1818)/0.00303;
+
+        lcd.printf("temple:%2.2f",tmp);
+        
+        wait(0.5);
+
+    }
+}
diff -r 000000000000 -r 007840739876 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun Jul 04 07:32:32 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/3944f1e2fa4f