/elec/quadcopter

To get this branch, use:
bzr branch http://bzr.ed.am/elec/quadcopter

« back to all changes in this revision

Viewing changes to src/rc-interface/motors.h

  • Committer: Tim Marston
  • Date: 2014-01-15 22:18:56 UTC
  • Revision ID: tim@ed.am-20140115221856-lcqttlborwi7ot7k
rc-interface: mostly completed it (untested, but rx and tx code should work)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// motors.h
 
3
//
 
4
 
 
5
#ifndef MOTORS_H_
 
6
#define MOTORS_H_
 
7
 
 
8
 
 
9
namespace Motors
 
10
{
 
11
        /**
 
12
         * Setup the Arduino as required.
 
13
         */
 
14
        void setup();
 
15
 
 
16
        /**
 
17
         * Update the motor channels if it's time.
 
18
         */
 
19
        void update_channels( int channels[] );
 
20
}
 
21
 
 
22
 
 
23
#endif //MOTORS_H_