Dependencies: PinDetect mbed Servo
events.h
- Committer:
- Rufaida
- Date:
- 2012-06-18
- Revision:
- 0:81f78497df4e
File content as of revision 0:81f78497df4e:
#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;