Este programa funciona perfecto

Dependencies:   Keypad TextLCD mbed

Revision:
0:bddbdebeea0e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Apr 04 03:38:29 2018 +0000
@@ -0,0 +1,23 @@
+#include "mbed.h"
+#include "TextLCD.h"
+#include "Keypad.h"
+
+Serial rs232 (USBTX, USBRX);
+AnalogIn AN0 (PTB0); float valor_adc;
+char Keytale[]= {'1' , '2', '3', 'A',
+                 '4' , '5', '3', 'B',
+                 '7' , '8', '3', 'C',
+                 '*' , '0', '#', 'D'};
+                 
+TextLCD lcd(PTE20,PTE21,PTE22,PTE23,PTE29,PTE30);  //rs en d4 d5 d6 d7
+int main() {
+    lcd.printf("MEDIDA ANALOGA");
+    wait(1);
+    while(true) {
+        valor_adc= AN0;
+        valor_adc= 1000*valor_adc;
+        
+        lcd.printf("%f\n\r",valor_adc);;
+        wait(0.1);
+    }
+}