Rev 1134 | Rev 1141 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1134 | Rev 1139 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | // + www.MikroKopter.com |
4 | // + www.MikroKopter.com |
5 | // + see the File "License.txt" for further Informations |
5 | // + see the File "License.txt" for further Informations |
6 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
6 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
7 | #include "main.h" |
7 | #include "main.h" |
8 | #include "altcon.h" |
8 | #include "altcon.h" |
- | 9 | #include "pitch.h" |
|
- | 10 | #include "pitch_md.h" |
|
- | 11 | #include "parameter.h" |
|
Line 9... | Line 12... | ||
9 | 12 | ||
10 | unsigned int TestInt = 0; |
13 | unsigned int TestInt = 0; |
11 | #define ARRAYGROESSE 10 |
14 | #define ARRAYGROESSE 10 |
12 | unsigned char Array[ARRAYGROESSE] = {1,2,3,4,5,6,7,8,9,10}; |
15 | unsigned char Array[ARRAYGROESSE] = {1,2,3,4,5,6,7,8,9,10}; |
13 | char DisplayBuff[80] = "Hallo Welt"; |
16 | char DisplayBuff[80] = "Hallo Welt"; |
Line 14... | Line 17... | ||
14 | unsigned char DispPtr = 0; |
17 | unsigned char DispPtr = 0; |
15 | 18 | ||
16 | unsigned char MaxMenue = 11; |
19 | unsigned char MaxMenue = 12; |
Line 17... | Line 20... | ||
17 | unsigned char MenuePunkt = 0; |
20 | unsigned char MenuePunkt = 0; |
18 | unsigned char RemoteKeys = 0; |
21 | unsigned char RemoteKeys = 0; |
Line 140... | Line 143... | ||
140 | LCD_printfxy(0,0,"ExternControl " ); |
143 | LCD_printfxy(0,0,"ExternControl " ); |
141 | LCD_printfxy(0,1,"Ni:%4i Ro:%4i ",ExternControl.Nick,ExternControl.Roll); |
144 | LCD_printfxy(0,1,"Ni:%4i Ro:%4i ",ExternControl.Nick,ExternControl.Roll); |
142 | LCD_printfxy(0,2,"Gs:%4i Gi:%4i ",ExternControl.Gas,ExternControl.Gier); |
145 | LCD_printfxy(0,2,"Gs:%4i Gi:%4i ",ExternControl.Gas,ExternControl.Gier); |
143 | LCD_printfxy(0,3,"Hi:%4i Cf:%4i ",ExternControl.Hight,ExternControl.Config); |
146 | LCD_printfxy(0,3,"Hi:%4i Cf:%4i ",ExternControl.Hight,ExternControl.Config); |
144 | break; |
147 | break; |
- | 148 | case 12: |
|
- | 149 | LCD_printfxy( 0, 0, "PitchSteuerung " ); |
|
- | 150 | LCD_printfxy( 0, 1, "Modus: %s ", pitchModeStrings[ pitch_current_mode() ] ); |
|
- | 151 | ||
- | 152 | // MD-Modus |
|
- | 153 | switch( pitch_current_mode() ) { |
|
- | 154 | case PARAM_PITCH_MODE_MD: |
|
- | 155 | LCD_printfxy( 0, 2, "Standgas: %3i ", pitch_hover_value() ); |
|
- | 156 | break; |
|
- | 157 | } |
|
- | 158 | ||
- | 159 | break; |
|
- | 160 | ||
145 | default: MaxMenue = MenuePunkt - 1; |
161 | default: MaxMenue = MenuePunkt - 1; |
146 | MenuePunkt = 0; |
162 | MenuePunkt = 0; |
147 | break; |
163 | break; |
148 | } |
164 | } |
149 | RemoteKeys = 0; |
165 | RemoteKeys = 0; |