
ft. button press reset
Dependencies: mbed
Fork of BeaconDemo_RobotCodeNew by
Diff: main.cpp
- 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); }