Dependencies:   TextLCD mbed

Files at this revision

API Documentation at this revision

Comitter:
ReneCA
Date:
Wed Sep 17 15:48:13 2014 +0000
Commit message:
Sosamulti;

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 4eab278f4df9 TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Wed Sep 17 15:48:13 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/simon/code/TextLCD/#308d188a2d3a
diff -r 000000000000 -r 4eab278f4df9 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Sep 17 15:48:13 2014 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+#include "TextLCD.h"
+float volt;
+TextLCD lcd(p20,p19,p21,p22,p23,p24); //rs,e,d4,d5,d6,d7
+AnalogIn ain(p18);
+
+int main() {
+    while(1) {
+        volt=3.1*ain.read();
+        lcd.locate(0,0);
+        lcd.printf("El Voltaje es de:");
+        lcd.locate(0,1);
+        lcd.printf("%f",volt);
+        wait(1);
+    }
+}
diff -r 000000000000 -r 4eab278f4df9 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Sep 17 15:48:13 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/9327015d4013
\ No newline at end of file