AND / Mbed 2 deprecated FeNO_LCD

Dependencies:   mbed TextLCD

Revision:
0:a13b440d4fd1
Child:
1:fd5a598caa32
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu May 23 08:09:19 2019 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+AnalogIn ain(A3);
+Serial ttl(PA_0, PA_1);
+
+int main()
+{  
+
+    ttl.baud(9600);
+    float x=0;
+    
+    while(1) {
+        x=3.3*ain; //Logic level 3.3
+        ttl.printf("%f\n", x);
+    }
+}