Subversion Repositories FlightCtrl

Rev

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

Rev 1211 Rev 1216
Line 6... Line 6...
6
//#define OCTO2 // 1 Arm in front
6
//#define OCTO2 // 1 Arm in front
7
//#define OCTO3 // 1 Arm with two Motors in front or Coax
7
//#define OCTO3 // 1 Arm with two Motors in front or Coax
Line 8... Line 8...
8
 
8
 
9
//+++++++++++
9
//+++++++++++
10
//  Quadro:
10
//  Quadro:
11
//    1 
11
//    1
12
//  4   3
12
//  4   3
13
//    2 
13
//    2
14
//+++++++++++
14
//+++++++++++
Line 15... Line 15...
15
// Reverse Props on 1 2 
15
// Reverse Props on 1 2
16
 
16
 
17
//+++++++++++
17
//+++++++++++
18
//   Octo:
18
//   Octo:
19
//    1 2
19
//    1 2
20
//  8     3
20
//  8     3
21
//  7     4
21
//  7     4
Line 22... Line 22...
22
//    6 5 
22
//    6 5
23
//+++++++++++
23
//+++++++++++
24
 
24
 
25
//+++++++++++
25
//+++++++++++
26
//   Octo2:
26
//   Octo2:
27
//      1 
27
//      1
28
//    8   2
28
//    8   2
29
//  7       3
29
//  7       3
Line 30... Line 30...
30
//    6   4    
30
//    6   4
31
//      5
31
//      5
32
//+++++++++++
32
//+++++++++++
33
 
33
 
34
//+++++++++++
34
//+++++++++++
35
//   Octo3:
35
//   Octo3:
36
//      1 
36
//      1
37
//      2
37
//      2
Line 97... Line 97...
97
 
97
 
98
#define CFG_LOOP_OBEN       0x01
98
#define CFG_LOOP_OBEN       0x01
99
#define CFG_LOOP_UNTEN      0x02
99
#define CFG_LOOP_UNTEN      0x02
100
#define CFG_LOOP_LINKS      0x04
100
#define CFG_LOOP_LINKS      0x04
101
#define CFG_LOOP_RECHTS     0x08
101
#define CFG_LOOP_RECHTS     0x08
-
 
102
#define CFG_RES1                    0x10
-
 
103
#define CFG_RES2                    0x20
-
 
104
#define CFG_RES3                    0x40
Line 102... Line 105...
102
#define CFG_HIGHT_3SWITCH   0x10
105
#define CFG_RES4                    0x80
103
 
106
 
104
#define J3High    PORTD |= 0x20
107
#define J3High    PORTD |= 0x20
105
#define J3Low     PORTD &= ~0x20
108
#define J3Low     PORTD &= ~0x20