Program to control an accelerometer, motors and a rangefinder using the ScmRTOS ported to mbed. (Work in progress and buggy)
Diff: Hexacopter/Mutexes.h
- Revision:
- 0:9b057566f9ee
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Hexacopter/Mutexes.h Mon Nov 01 20:39:01 2010 +0000 @@ -0,0 +1,14 @@ + +#pragma once +#ifndef MUTEXES_H +#define MUTEXES_H + +//---------------------------------------------------------------------- +//This file defines the mutexes that are in use in this program + +OS::TMutex Serial_Mutex; //this Mutex is used to selectively give access to the serial port +OS::TMutex XB_Mutex; //this Mutex is used to selectively give access to the XBEE serial port +OS::TMutex Ser_out_Mutex; //serial output mutex + + +#endif \ No newline at end of file