Program to control an accelerometer, motors and a rangefinder using the ScmRTOS ported to mbed. (Work in progress and buggy)
Mutexes.h
00001 00002 #pragma once 00003 #ifndef MUTEXES_H 00004 #define MUTEXES_H 00005 00006 //---------------------------------------------------------------------- 00007 //This file defines the mutexes that are in use in this program 00008 00009 OS::TMutex Serial_Mutex; //this Mutex is used to selectively give access to the serial port 00010 OS::TMutex XB_Mutex; //this Mutex is used to selectively give access to the XBEE serial port 00011 OS::TMutex Ser_out_Mutex; //serial output mutex 00012 00013 00014 #endif
Generated on Wed Jul 13 2022 05:20:16 by 1.7.2