Files at this revision

API Documentation at this revision

Comitter:
esmiwa
Date:
Sun Jun 17 01:13:24 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 c5af10b9239f TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Sun Jun 17 01:13:24 2012 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/carlos_nascimento08/code/TextLCD/#b8a17b39cd0d
diff -r 000000000000 -r c5af10b9239f main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Jun 17 01:13:24 2012 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+#include "TextLCD.h"
+ 
+TextLCD lcd(p24, p26, p27, p28, p29, p30); // rs, e, d4-d7
+ 
+AnalogIn ain(p20);
+
+int main() {
+    lcd.locate(0,0);lcd.printf("0.0000 - 1.0000");
+    while(1) {
+        lcd.locate(5,1);lcd.printf("%4.4f",ain.read());
+    }
+}
diff -r 000000000000 -r c5af10b9239f mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun Jun 17 01:13:24 2012 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/737756e0b479