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:
- 24:adb946be4ce5
- Parent:
- 23:71e84953b3f3
- Child:
- 25:7523239a2fc1
--- a/main/main.h Wed Apr 08 21:57:10 2020 +0000 +++ b/main/main.h Thu Apr 09 00:52:46 2020 +0000 @@ -3,9 +3,6 @@ #include "m3pi.h" #include "mbed.h" -#include <cmath> - -using namespace std; // Constants #define A 0.5 // 20 @@ -62,6 +59,10 @@ void non_looped(); void looped(); void node_logic(); +bool coord_check(); +int coord_to_node(); +void choose_turn(); +//check_explored(); to be added // Global Variables char path[100]; @@ -82,7 +83,7 @@ char dir; int curr_coords[2]; int total_points; -unsigned int looped_path[100] +unsigned int looped_path[100]; unsigned int point[100]; unsigned int type[100]; unsigned int explored[100];