James Heavey / Mbed 2 deprecated 3875_DISSERTATION

Dependencies:   mbed 3875_Individualproject

Revision:
23:71e84953b3f3
Parent:
22:02dda79d50b4
Child:
24:adb946be4ce5
--- a/main/main.h	Wed Apr 08 06:03:58 2020 +0000
+++ b/main/main.h	Wed Apr 08 21:57:10 2020 +0000
@@ -3,6 +3,9 @@
 
 #include "m3pi.h"
 #include "mbed.h"
+#include <cmath> 
+
+using namespace std; 
 
 // Constants
 #define A 0.5         // 20
@@ -74,10 +77,11 @@
 int dist_est_1 = 0;
 int dist_est_2 = 0;
 
+bool first = true;
 bool t_restart = true;
-char dir = 'N';
+char dir;
 int curr_coords[2];
-int total_points = 0;
+int total_points;
 unsigned int looped_path[100]
 unsigned int point[100];
 unsigned int type[100];