Subversion Repositories FlightCtrl

Rev

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

Rev 762 Rev 768
Line 97... Line 97...
97
           LCD_printfxy(0,3,"(c) Holger Buss");
97
           LCD_printfxy(0,3,"(c) Holger Buss");
98
           break;
98
           break;
99
    case 1:// Height Control Menu Item
99
    case 1:// Height Control Menu Item
100
          if(ParamSet.GlobalConfig & CFG_HEIGHT_CONTROL)
100
          if(ParamSet.GlobalConfig & CFG_HEIGHT_CONTROL)
101
           {
101
           {
102
           LCD_printfxy(0,0,"Height:      %5i",ReadingHeight);
102
           LCD_printfxy(0,0,"Height:    %5i",ReadingHeight);
103
           LCD_printfxy(0,1,"Set Point:  %5i",SetPointHeight);
103
           LCD_printfxy(0,1,"Set Point: %5i",SetPointHeight);
104
           LCD_printfxy(0,2,"Air Press.: %5i",ReadingAirPressure);
104
           LCD_printfxy(0,2,"Air Press.:%5i",ReadingAirPressure);
105
           LCD_printfxy(0,3,"Offset    : %5i",PressureSensorOffset);
105
           LCD_printfxy(0,3,"Offset    :%5i",PressureSensorOffset);
106
           }
106
           }
107
           else
107
           else
108
           {
108
           {
109
           LCD_printfxy(0,1,"No ");
109
           LCD_printfxy(0,1,"No ");
110
           LCD_printfxy(0,2,"Height Control");
110
           LCD_printfxy(0,2,"Height Control");
Line 144... Line 144...
144
           LCD_printfxy(0,3,"Yaw   %4i (%3i)",Reading_GyroYaw, AdNeutralYaw/2);
144
           LCD_printfxy(0,3,"Yaw   %4i (%3i)",Reading_GyroYaw, AdNeutralYaw/2);
145
          }
145
          }
146
           break;
146
           break;
147
    case 6:// Acceleration Sensor Menu Item
147
    case 6:// Acceleration Sensor Menu Item
148
           LCD_printfxy(0,0,"ACC - Sensor");
148
           LCD_printfxy(0,0,"ACC - Sensor");
149
           LCD_printfxy(0,1,"Pitch %4i (%3i)",AdValueAccPitch, NeutralAccX);
149
           LCD_printfxy(0,1,"Pitch  %4i (%3i)",AdValueAccPitch, NeutralAccX);
150
           LCD_printfxy(0,2,"Roll  %4i (%3i)",AdValueAccRoll, NeutralAccY);
150
           LCD_printfxy(0,2,"Roll   %4i (%3i)",AdValueAccRoll, NeutralAccY);
151
           LCD_printfxy(0,3,"Height %4i (%3i)",Mean_AccTop, (int)NeutralAccZ);
151
           LCD_printfxy(0,3,"Height %4i (%3i)",Mean_AccTop, (int)NeutralAccZ);
152
           break;
152
           break;
153
    case 7:// Accumulator Voltage / Remote Control Level
153
    case 7:// Accumulator Voltage / Remote Control Level
154
           LCD_printfxy(0,1,"Voltage:  %5i",UBat);
154
           LCD_printfxy(0,1,"Voltage:  %5i",UBat);
155
           LCD_printfxy(0,2,"RC-Level: %5i",SenderOkay);
155
           LCD_printfxy(0,2,"RC-Level: %5i",SenderOkay);