bzr branch
http://bzr.ed.am/elec/quadcopter
18
by Tim Marston
completed (hopefully) the RC interface software |
1 |
// |
2 |
// comms.h |
|
3 |
// |
|
4 |
||
5 |
#ifndef COMMS_H_ |
|
6 |
#define COMMS_H_ |
|
7 |
||
8 |
||
9 |
namespace Comms |
|
10 |
{ |
|
11 |
/** |
|
12 |
* Setup the Arduino as required. |
|
13 |
*/ |
|
14 |
void setup(); |
|
15 |
||
16 |
/** |
|
17 |
* Write channel values. |
|
18 |
* |
|
19 |
* @param channel_values array of values |
|
20 |
*/ |
|
21 |
void write_channels( int channels[] ); |
|
22 |
} |
|
23 |
||
24 |
||
25 |
#endif //COMMS_H_ |