Code to be modified by LVC students

Dependencies:   mbed m3pimaze

Files at this revision

API Documentation at this revision

Comitter:
jonmarsh
Date:
Wed Mar 16 11:56:59 2011 +0000
Parent:
0:64bbd41c50cb
Commit message:

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 64bbd41c50cb -r 092dad68a533 main.cpp
--- a/main.cpp	Thu Mar 10 12:17:35 2011 +0000
+++ b/main.cpp	Wed Mar 16 11:56:59 2011 +0000
@@ -122,11 +122,6 @@
         if (found_forward==1)
            m3pi.printf("F");
         wait (3);
-        // Check for the ending spot.
-        // If all five sensors are on dark black, we have
-        // solved the maze.
-        if(sensors[0]>600 && sensors[1] > 600 && sensors[2] > 600 && sensors[3] > 600 && sensors[4]>600)
-           m3pi.printf("Done");           
 }
 
  void checksensors()