Rev 1002 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1002 | Rev 1003 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | // + 0-250 -> normale Werte |
3 | // + 0-250 -> normale Werte |
4 | // + 251 -> Poti1 |
4 | // + 251 -> Poti1 |
5 | // + 252 -> Poti2 |
5 | // + 252 -> Poti2 |
6 | // + 253 -> Poti3 |
6 | // + 253 -> Poti3 |
7 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
7 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
- | 8 | #include "fc.h" |
|
- | 9 | #include "_settings.h" |
|
- | 10 | #include "main.h" |
|
- | 11 | ||
8 | void DefaultKonstanten1(void) |
12 | void DefaultKonstanten1(void) |
9 | { |
13 | { |
10 | EE_Parameter.Kanalbelegung[K_NICK] = 1; |
14 | EE_Parameter.Kanalbelegung[K_NICK] = 1; |
11 | EE_Parameter.Kanalbelegung[K_ROLL] = 2; |
15 | EE_Parameter.Kanalbelegung[K_ROLL] = 2; |
12 | EE_Parameter.Kanalbelegung[K_GAS] = 3; |
16 | EE_Parameter.Kanalbelegung[K_GAS] = 3; |
Line 29... | Line 33... | ||
29 | EE_Parameter.Gas_Max = 230; // Wert : 33-250 |
33 | EE_Parameter.Gas_Max = 230; // Wert : 33-250 |
30 | EE_Parameter.GyroAccFaktor = 30; // Wert : 1-64 |
34 | EE_Parameter.GyroAccFaktor = 30; // Wert : 1-64 |
31 | EE_Parameter.KompassWirkung = 128; // Wert : 0-250 |
35 | EE_Parameter.KompassWirkung = 128; // Wert : 0-250 |
32 | EE_Parameter.Gyro_P = 80; // Wert : 0-250 |
36 | EE_Parameter.Gyro_P = 80; // Wert : 0-250 |
33 | EE_Parameter.Gyro_I = 150; // Wert : 0-250 |
37 | EE_Parameter.Gyro_I = 150; // Wert : 0-250 |
34 | EE_Parameter.UnterspannungsWarnung = 94; // Wert : 0-250 |
38 | EE_Parameter.UnterspannungsWarnung = 100; // Wert : 0-250 |
35 | EE_Parameter.NotGas = 35; // Wert : 0-250 // Gaswert bei Empangsverlust |
39 | EE_Parameter.NotGas = 35; // Wert : 0-250 // Gaswert bei Empangsverlust |
36 | EE_Parameter.NotGasZeit = 30; // Wert : 0-250 // Zeit bis auf NotGas geschaltet wird, wg. Rx-Problemen |
40 | EE_Parameter.NotGasZeit = 30; // Wert : 0-250 // Zeit bis auf NotGas geschaltet wird, wg. Rx-Problemen |
37 | EE_Parameter.UfoAusrichtung = 0; // X oder + Formation |
41 | EE_Parameter.UfoAusrichtung = 0; // X oder + Formation |
38 | EE_Parameter.I_Faktor = 32; |
42 | EE_Parameter.I_Faktor = 32; |
39 | EE_Parameter.UserParam1 = 0; // zur freien Verwendung |
43 | EE_Parameter.UserParam1 = 0; // zur freien Verwendung |
Line 65... | Line 69... | ||
65 | EE_Parameter.J17Bitmask = 243; |
69 | EE_Parameter.J17Bitmask = 243; |
66 | EE_Parameter.J16Timing = 15; |
70 | EE_Parameter.J16Timing = 15; |
67 | EE_Parameter.J17Timing = 15; |
71 | EE_Parameter.J17Timing = 15; |
68 | EE_Parameter.NaviGpsModeControl = 253; |
72 | EE_Parameter.NaviGpsModeControl = 253; |
69 | EE_Parameter.NaviGpsGain = 100; |
73 | EE_Parameter.NaviGpsGain = 100; |
70 | EE_Parameter.NaviGpsP = 90; |
74 | EE_Parameter.NaviGpsP = 60; |
71 | EE_Parameter.NaviGpsI = 90; |
75 | EE_Parameter.NaviGpsI = 0; |
72 | EE_Parameter.NaviGpsD = 90; |
76 | EE_Parameter.NaviGpsD = 90; |
73 | EE_Parameter.NaviGpsACC = 0; |
77 | EE_Parameter.NaviGpsACC = 0; |
74 | EE_Parameter.NaviGpsMinSat = 6; |
78 | EE_Parameter.NaviGpsMinSat = 6; |
75 | EE_Parameter.NaviStickThreshold = 8; |
79 | EE_Parameter.NaviStickThreshold = 8; |
76 | memcpy(EE_Parameter.Name, "Sport\0", 12); |
80 | memcpy(EE_Parameter.Name, "Sport\0", 12); |
Line 136... | Line 140... | ||
136 | EE_Parameter.J16Timing = 20; |
140 | EE_Parameter.J16Timing = 20; |
137 | EE_Parameter.J17Timing = 20; |
141 | EE_Parameter.J17Timing = 20; |
138 | EE_Parameter.NaviGpsModeControl = 253; |
142 | EE_Parameter.NaviGpsModeControl = 253; |
139 | EE_Parameter.NaviGpsGain = 100; |
143 | EE_Parameter.NaviGpsGain = 100; |
140 | EE_Parameter.NaviGpsP = 90; |
144 | EE_Parameter.NaviGpsP = 90; |
141 | EE_Parameter.NaviGpsI = 90; |
145 | EE_Parameter.NaviGpsI = 16; |
142 | EE_Parameter.NaviGpsD = 90; |
146 | EE_Parameter.NaviGpsD = 90; |
143 | EE_Parameter.NaviGpsACC = 0; |
147 | EE_Parameter.NaviGpsACC = 0; |
144 | EE_Parameter.NaviGpsMinSat = 6; |
148 | EE_Parameter.NaviGpsMinSat = 6; |
145 | EE_Parameter.NaviStickThreshold = 8; |
149 | EE_Parameter.NaviStickThreshold = 8; |
146 | memcpy(EE_Parameter.Name, "Normal\0", 12); |
150 | memcpy(EE_Parameter.Name, "Normal\0", 12); |