Subversion Repositories FlightCtrl

Rev

Rev 2108 | Rev 2110 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2108 Rev 2109
Line 19... Line 19...
19
#define CH_AILERONS         1
19
#define CH_AILERONS         1
20
#define CH_THROTTLE         2
20
#define CH_THROTTLE         2
21
#define CH_RUDDER       3
21
#define CH_RUDDER       3
22
#define CH_MODESWITCH   4
22
#define CH_MODESWITCH   4
23
#define CH_POTS         4
23
#define CH_POTS         4
-
 
24
 
-
 
25
// These are a little individual for differnt R/C systems... trim for zero channel readings at zero
-
 
26
// stick, and trim VARIABLE_OFFSET for full variable range 0..255.
24
#define POT_OFFSET      120
27
#define VARIABLE_OFFSET      106
-
 
28
#define RC_TRIM              19
-
 
29
// Set this for a full stick range of about -1024..1024.
-
 
30
#define RC_SCALING           1
Line 25... Line 31...
25
 
31
 
26
/*
32
/*
27
 int16_t  RC_getPitch        (void);
33
 int16_t  RC_getPitch        (void);
28
 int16_t  RC_getYaw          (void);
34
 int16_t  RC_getYaw          (void);