interesting

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
DeanArm7
Date:
Wed Nov 29 22:11:46 2017 +0000
Parent:
0:bb088e8d11ad
Commit message:
stuff

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r bb088e8d11ad -r 9f1d7a316755 main.cpp
--- a/main.cpp	Wed Nov 29 22:10:25 2017 +0000
+++ b/main.cpp	Wed Nov 29 22:11:46 2017 +0000
@@ -1,20 +1,13 @@
 #include "mbed.h"
 
-
 AnalogIn   end_in(p15);
-
 Serial pc(USBTX, USBRX); // tx, rx
 
-int main() {
-    
-    float end_test=0;
-    
+int main() {    
+    float end_test=0;    
     while(1) {
-        wait(1);
-        
+        wait(1);        
         end_test = end_in;
-        pc.printf("%f\n\r",end_test);
-        
-        
+        pc.printf("%f\n\r",end_test);          
     }
 }