Program to control an accelerometer, motors and a rangefinder using the ScmRTOS ported to mbed. (Work in progress and buggy)
event_flags.h
00001 #pragma once 00002 #ifndef EVENT_FLAGS_H 00003 #define EVENT_FLAGS_H 00004 00005 //--------------------------------------------------------------------------- 00006 // 00007 // Event Flags to test 00008 // 00009 OS::TEventFlag ef; 00010 //OS::TEventFlag RX_flag; //this signals the command_handler process 00011 //OS::TEventFlag TX_flag; //signals the serial_out process 00012 OS::TEventFlag timerEvent; 00013 //OS::TEventFlag Servo_Command_Event; //signals the servo_control process that there is a new command 00014 00015 00016 00017 00018 #endif
Generated on Wed Jul 13 2022 05:20:16 by 1.7.2