/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/comms.h

  • Committer: dan
  • Date: 2014-04-15 02:30:19 UTC
  • Revision ID: dan-20140415023019-u1qz3nxv08vpxb4s
First attempt at connecting up all the components on the circuit. Almost finnished but not managed to connect scl, sda, tx0 & rx0. Gonna pass over to Tim to see if he can find a solution.

Show diffs side-by-side

added added

removed removed

16
16
        /**
17
17
         * Write channel values.
18
18
         *
19
 
         * @param channel_values array of values
 
19
         * @param channel_values array of NUM_CHANNELS values
20
20
         */
21
21
        void write_channels( int channels[] );
 
22
 
 
23
        /**
 
24
         * Read channel values.  Call often.  If a complete frame is read,
 
25
         * channel_values will contain the data.
 
26
         *
 
27
         * @param channel_values array of NUM_MOTORS values
 
28
         * @returns true if a whole frame was read
 
29
         */
 
30
        bool read_channels( int channels[] );
22
31
}
23
32
 
24
33