4
// Configuration for rc-interface module.
7
// ____________________________________________________________________________
11
#define NUM_CHANNELS 8
13
// comma-separated order that channels are received in (channels are numbered
14
// from 1 to NUM_CHANNELS)
15
#define CHANNEL_ORDER 1, 3, 2, 4, 5, 6, 7, 8
17
// minimum pulse width (in ms), used to weed out crappy signals
18
#define MIN_PULSE_WIDTH 1000UL
20
// maximum pulse width (in ms), used to weed out crappy signals
21
#define MAX_PULSE_WIDTH 2000UL
23
// minimum frame gap time (in ms), used to check that the frame gap is where we
24
// expect it to be and that we have read the channels properly
25
#define MIN_FRAME_GAP_WIDTH ( 4000UL + MIN_PULSE_WIDTH )
27
// ____________________________________________________________________________
30
// ____________________________________________________________________________