Subversion Repositories FlightCtrl

Rev

Rev 1263 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1263 Rev 1269
Line 15... Line 15...
15
#define ARRAYGROESSE 10
15
#define ARRAYGROESSE 10
16
unsigned char Array[ARRAYGROESSE] = {1,2,3,4,5,6,7,8,9,10};
16
unsigned char Array[ARRAYGROESSE] = {1,2,3,4,5,6,7,8,9,10};
17
char DisplayBuff[80] = "Hallo Welt";
17
char DisplayBuff[80] = "Hallo Welt";
18
unsigned char DispPtr = 0;
18
unsigned char DispPtr = 0;
Line 19... Line 19...
19
 
19
 
20
unsigned char MaxMenue = 14;
20
unsigned char MaxMenue = 15;
21
unsigned char MenuePunkt = 0;
21
unsigned char MenuePunkt = 0;
Line 22... Line 22...
22
unsigned char RemoteKeys = 0;
22
unsigned char RemoteKeys = 0;
23
 
23
 
Line 164... Line 164...
164
                   if(MotorPresent[9]) LCD_printfxy(4,3,"10");
164
                   if(MotorPresent[9]) LCD_printfxy(4,3,"10");
165
                   if(MotorPresent[10]) LCD_printfxy(8,3,"11");
165
                   if(MotorPresent[10]) LCD_printfxy(8,3,"11");
166
                   if(MotorPresent[11]) LCD_printfxy(12,3,"12");
166
                   if(MotorPresent[11]) LCD_printfxy(12,3,"12");
167
           break;
167
           break;
168
    case 14:
168
    case 14:
169
           LCD_printfxy( 0, 0, "PitchControl   " );
169
           LCD_printfxy( 0, 0, "PitchControl 1 " );
170
           LCD_printfxy( 0, 1, "Modus         :   %2s", pitchModeStrings[ pitch_currentMode() ] );
170
           LCD_printfxy( 0, 1, "Modus         :   %2s", pitchModeStrings[ pitch_currentMode() ] );
Line 171... Line 171...
171
           
171
           
172
           // MD-Modus
172
           // MD-Modus
173
           switch( pitch_currentMode() ) {
173
           switch( pitch_currentMode() ) {
174
                case PARAM_PITCH_MODE_MD:
174
                case PARAM_PITCH_MODE_MD:
175
                        LCD_printfxy( 0, 2, "Standgas  (%02d):  %3i", PARAM_PITCH_HOVER_PERCENT, pitch_standValue() );
175
                        LCD_printfxy( 0, 2, "Standgas  (%02d):  %3i", PARAM_PITCH_HOVER_PERCENT, pitch_standValue() );
176
                        LCD_printfxy( 0, 3, "Schwebegas    :  %3i", pitch_hoverValue() );
176
                        LCD_printfxy( 0, 3, "Schwebegas    :  %3i", pitch_hoverValue() );
177
                        break;
177
                        break;
178
           }
178
           }
-
 
179
           break;
-
 
180
    case 15:
-
 
181
           LCD_printfxy( 0, 0, "PitchControl 2 " );
-
 
182
           LCD_printfxy( 0, 1, "Stick-Delta   :   %2d", pitch_neutralDiffMD() );
179
           break;
183
           break;
180
    default: MaxMenue = MenuePunkt - 1;
184
    default: MaxMenue = MenuePunkt - 1;
181
             MenuePunkt = 0;
185
             MenuePunkt = 0;
182
           break;
186
           break;
183
    }
187
    }