Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed 3875_Individualproject
Diff: main/main.h
- 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];