James Heavey / Mbed 2 deprecated 3875_DISSERTATION

Dependencies:   mbed 3875_Individualproject

Revision:
27:0a3f028f9365
Parent:
25:7523239a2fc1
Child:
28:63ff8290964a
--- a/main/main.h	Thu Apr 09 12:16:42 2020 +0000
+++ b/main/main.h	Fri Apr 10 14:00:50 2020 +0000
@@ -61,7 +61,7 @@
 void node_logic();
 bool coord_check();
 void update_index();
-void choose_turn();
+bool choose_turn();
 //check_explored();    to be added
 
 // Global Variables
@@ -79,13 +79,16 @@
 int dist_est_2 = 0;
 
 bool first = true;
+bool complete = false;
+bool retrace = false;
+bool goal_node = false;
 bool t_restart = true;
 char dir;
 int curr_index;
 int curr_coords[2];
 int total_points;
 unsigned int looped_path[100];
-unsigned int point[100];   // might be irrelevant
+unsigned int point[100];   // use a struct
 unsigned int type[100];
 unsigned int explored[100];
 int coords_x[100];