![](/media/cache/profiles/2a0f97f81755e2878b264adf39cba68e.50x50_q85.jpg)
Program to control an accelerometer, motors and a rangefinder using the ScmRTOS ported to mbed. (Work in progress and buggy)
Diff: Hexacopter/messages.h
- Revision:
- 0:9b057566f9ee
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Hexacopter/messages.h Mon Nov 01 20:39:01 2010 +0000 @@ -0,0 +1,17 @@ +//----------------------------------------------------------------- +//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 \ No newline at end of file