Program to control an accelerometer, motors and a rangefinder using the ScmRTOS ported to mbed. (Work in progress and buggy)

Dependencies:   mbed

Committer:
jberry
Date:
Mon Nov 01 20:39:01 2010 +0000
Revision:
0:9b057566f9ee

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jberry 0:9b057566f9ee 1
jberry 0:9b057566f9ee 2 #pragma once
jberry 0:9b057566f9ee 3 #ifndef MUTEXES_H
jberry 0:9b057566f9ee 4 #define MUTEXES_H
jberry 0:9b057566f9ee 5
jberry 0:9b057566f9ee 6 //----------------------------------------------------------------------
jberry 0:9b057566f9ee 7 //This file defines the mutexes that are in use in this program
jberry 0:9b057566f9ee 8
jberry 0:9b057566f9ee 9 OS::TMutex Serial_Mutex; //this Mutex is used to selectively give access to the serial port
jberry 0:9b057566f9ee 10 OS::TMutex XB_Mutex; //this Mutex is used to selectively give access to the XBEE serial port
jberry 0:9b057566f9ee 11 OS::TMutex Ser_out_Mutex; //serial output mutex
jberry 0:9b057566f9ee 12
jberry 0:9b057566f9ee 13
jberry 0:9b057566f9ee 14 #endif