Dependencies:   PinDetect mbed Servo

Revision:
0:81f78497df4e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/events.h	Mon Jun 18 17:47:17 2012 +0000
@@ -0,0 +1,24 @@
+#include "mbed.h"
+#include "definitions.h"
+#include "PinDetect.h"
+#define q_size 4
+/*including functions from different files*/
+extern int call_to_top;
+extern int call_to_bottom;
+/*definitions of event functions*/
+void new_event(events ev);
+int empty_q (void);
+events get_event(void);
+void top_button ();
+void near_top_button ();
+void near_bottom_button ();
+void bottom_button ();
+void top_call_button ();
+void bottom_call_button ();
+void go_top_button ();
+void go_bottom_button ();
+void safety ();
+/*definition of the pindetect function*/
+void initialise_events(void);
+/*including this function from event.h*/
+extern enum events event;
\ No newline at end of file