Jayanth Kumar Tumuluri / Mbed 2 deprecated Lab4

Dependencies:   mbed

Revision:
0:70efaaf8fec6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/task1.cpp	Tue Aug 06 05:06:41 2019 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+
+AnalogIn A(p20); 
+Serial pc(USBTX,USBRX); 
+int main() 
+{ 
+    while(A) 
+    { 
+      float Ain= 3.3 * A; 
+      wait(0.5);
+      pc.printf("%f\t",Ain); 
+    }
+}
\ No newline at end of file