-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdef.h
More file actions
42 lines (28 loc) · 636 Bytes
/
def.h
File metadata and controls
42 lines (28 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
////// all the global variables/////
//variables for sensros////
#define YAW_DIRECTION 1
#define ROLL 0
#define PITCH 1
#define YAW 2
#define THROTTLE 3
// variables for rc//
#define RC_1 5
#define RC_2 6
#define RC_3 11
#define RC_4 10
#define RC_5 9
#define RC_6 3
#define RC_HIGH_CH1 2000
#define RC_LOW_CH1 1000
#define RC_HIGH_CH2 2000
#define RC_LOW_CH2 1000
#define RC_HIGH_CH3 2000
#define RC_LOW_CH3 1000
#define RC_HIGH_CH4 2000
#define RC_LOW_CH4 1000
#define RC_HIGH_CH5 2000
#define RC_LOW_CH5 1000
#define RC_HIGH_CH6 2000
#define RC_LOW_CH6 1000
// global variables for motors//
// global variables for//