James Heavey / Mbed 2 deprecated 3875_DISSERTATION

Dependencies:   mbed 3875_Individualproject

Revision:
25:7523239a2fc1
Parent:
24:adb946be4ce5
Child:
27:0a3f028f9365
diff -r adb946be4ce5 -r 7523239a2fc1 main/main.h
--- a/main/main.h	Thu Apr 09 00:52:46 2020 +0000
+++ b/main/main.h	Thu Apr 09 02:52:18 2020 +0000
@@ -60,7 +60,7 @@
 void looped();
 void node_logic();
 bool coord_check();
-int coord_to_node();
+void update_index();
 void choose_turn();
 //check_explored();    to be added
 
@@ -81,10 +81,11 @@
 bool first = true;
 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];
+unsigned int point[100];   // might be irrelevant
 unsigned int type[100];
 unsigned int explored[100];
 int coords_x[100];