a simple code for elevator

Dependencies:   PinDetect mbed Servo

Revision:
0:85829f7bbe62
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/event_and_actions.h	Mon Jun 04 13:51:43 2012 +0000
@@ -0,0 +1,35 @@
+/*
+ * ENEVTS AND ACTIONS FUNCTIONS.
+ * ^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^
+ *
+ * FILE NAME: event_and_actins.h
+ * USAGE: library file of event_and_actins.cpp
+ */
+ 
+ 
+ 
+ /*
+* including the wanted library files.
+*/
+#include "mbed.h"
+#include "main.h"
+
+/*function prototype*/
+void move_to_bottom (void);
+void door_top (void);
+void motor_stop_tp (void);
+void motor_stop_bm (void);
+void open_top (void);
+void close_top (void);
+void slow_down_tp (void);
+void slow_down_bm (void);
+void door_bottom (void);
+void move_to_top (void);
+void open_bottom (void);
+void close_bottom (void);
+void ND (void);
+void new_event (event next_event);
+void slow_back (void);
+
+/*variable named current_state that has been defined in another location*/
+extern state current_state;
\ No newline at end of file