Program to control an accelerometer, motors and a rangefinder using the ScmRTOS ported to mbed. (Work in progress and buggy)
Diff: Hexacopter/channels.h
- Revision:
- 0:9b057566f9ee
diff -r 000000000000 -r 9b057566f9ee Hexacopter/channels.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Hexacopter/channels.h Mon Nov 01 20:39:01 2010 +0000 @@ -0,0 +1,17 @@ +#pragma once +#ifndef CHANNELS_H +#define CHANNELS_H + +//-------------------------------------------------------------------------------------------- +//define the channels that are going to be used in the program + // command channel + +OS::channel<char, 100> RX_channel; +OS::channel<char, 100> SER_channel; +OS::channel<char, 100> MOT_channel; +OS::channel<char, 100> TX_channel; + + + + +#endif \ No newline at end of file