interesting

Dependencies:   mbed

Revision:
0:bb088e8d11ad
Child:
1:9f1d7a316755
diff -r 000000000000 -r bb088e8d11ad main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Nov 29 22:10:25 2017 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+
+
+AnalogIn   end_in(p15);
+
+Serial pc(USBTX, USBRX); // tx, rx
+
+int main() {
+    
+    float end_test=0;
+    
+    while(1) {
+        wait(1);
+        
+        end_test = end_in;
+        pc.printf("%f\n\r",end_test);
+        
+        
+    }
+}