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

Dependencies:   mbed

Hexacopter/messages.h

Committer:
jberry
Date:
2010-11-01
Revision:
0:9b057566f9ee

File content as of revision 0:9b057566f9ee:

//-----------------------------------------------------------------
//file containing the os::message list used in the program

#pragma once
#ifndef MESSAGES_H
#define MESSAGES_H

//--------------------------------------------------------------------------------------------
//define the channels that are going to be used in the program
       // command channel

OS::message<byte> PING_MESSAGE; //if message is a zero, then PING once, if a 1 then Ticker ping
OS::message<byte> ACCELEROMETER_MESSAGE; //if message is a zero, then return acceleration once, if a 1 then continually return acceleration data
//OS::message<float> MOTOR_message;


#endif