Program to control an accelerometer, motors and a rangefinder using the ScmRTOS ported to mbed. (Work in progress and buggy)
Diff: Hexacopter/event_flags.h
- Revision:
- 0:9b057566f9ee
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Hexacopter/event_flags.h Mon Nov 01 20:39:01 2010 +0000 @@ -0,0 +1,18 @@ +#pragma once +#ifndef EVENT_FLAGS_H +#define EVENT_FLAGS_H + +//--------------------------------------------------------------------------- +// +// Event Flags to test +// +OS::TEventFlag ef; +//OS::TEventFlag RX_flag; //this signals the command_handler process +//OS::TEventFlag TX_flag; //signals the serial_out process +OS::TEventFlag timerEvent; +//OS::TEventFlag Servo_Command_Event; //signals the servo_control process that there is a new command + + + + +#endif \ No newline at end of file