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 //file containing the os::message list used in the program
jberry 0:9b057566f9ee 3
jberry 0:9b057566f9ee 4 #pragma once
jberry 0:9b057566f9ee 5 #ifndef MESSAGES_H
jberry 0:9b057566f9ee 6 #define MESSAGES_H
jberry 0:9b057566f9ee 7
jberry 0:9b057566f9ee 8 //--------------------------------------------------------------------------------------------
jberry 0:9b057566f9ee 9 //define the channels that are going to be used in the program
jberry 0:9b057566f9ee 10 // command channel
jberry 0:9b057566f9ee 11
jberry 0:9b057566f9ee 12 OS::message<byte> PING_MESSAGE; //if message is a zero, then PING once, if a 1 then Ticker ping
jberry 0:9b057566f9ee 13 OS::message<byte> ACCELEROMETER_MESSAGE; //if message is a zero, then return acceleration once, if a 1 then continually return acceleration data
jberry 0:9b057566f9ee 14 //OS::message<float> MOTOR_message;
jberry 0:9b057566f9ee 15
jberry 0:9b057566f9ee 16
jberry 0:9b057566f9ee 17 #endif