My ELEC2645 project. Nikollao Sulollari. 200804685

Dependencies:   N5110 SoftPWM mbed

Fork of Treasure_Hunt by ELEC2645 (2015/16)

Revision:
3:d2cc054e8605
Parent:
2:af5b5d42e835
Child:
4:f31bdc212241
--- a/main.h	Mon Mar 21 09:29:46 2016 +0000
+++ b/main.h	Mon Mar 21 11:36:51 2016 +0000
@@ -29,6 +29,7 @@
 volatile int g_sw2_flag = 0;
 volatile int g_sw3_flag = 0;
 volatile int g_button_flag = 0;
+volatile int option = 0;
 
 void error();
 // setup serial port
@@ -51,7 +52,9 @@
 void hero();
 void guidance();
 void obstacles();
+void enemies();
 int menu();
+int intersection(int i, int j);
 
 enum DirectionName {
     UP,