YRL Maze lab made more script-y

Dependencies:   PsiSwarmLab-ScriptingBased mbed

Fork of UKESF_Lab by UKESF Headstart Summer School

Revision:
3:cd048f6e544e
Parent:
2:a6214fd156ff
Child:
4:25039ea5eb09
--- a/main.cpp	Mon Oct 05 14:42:16 2015 +0000
+++ b/main.cpp	Mon Oct 05 20:42:37 2015 +0000
@@ -36,10 +36,12 @@
 
 ///This function is the loop where user code should be placed
 void user_code_loop(){   
+    store_line_position();
     ///Do not place code within a loop, but consider this function to be a loop that is always run
     ///unless the user code is externally paused (such as by debug or recharging system)
     
-    
+    if(line_found == 1)pc.printf("%f\n",line_position); 
+    wait(0.25);
 }