Subversion Repositories FlightCtrl

Rev

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

Rev 1211 Rev 1253
Line 55... Line 55...
55
//           if(RemoteTasten & KEY4) TestInt++;
55
//           if(RemoteTasten & KEY4) TestInt++;
56
           break;
56
           break;
57
    case 1:
57
    case 1:
58
          if(EE_Parameter.GlobalConfig & CFG_HOEHENREGELUNG)
58
          if(EE_Parameter.GlobalConfig & CFG_HOEHENREGELUNG)
59
           {
59
           {
60
           LCD_printfxy(0,0,"Hoehe:     %5i",HoehenWert);
60
           LCD_printfxy(0,0,"Hoehe:     %5i",(int)(HoehenWert/5));
61
           LCD_printfxy(0,1,"SollHoehe: %5i",SollHoehe);
61
           LCD_printfxy(0,1,"SollHoehe: %5i",(int)(SollHoehe/5));
62
           LCD_printfxy(0,2,"Luftdruck: %5i",MessLuftdruck);
62
           LCD_printfxy(0,2,"Luftdruck: %5i",MessLuftdruck);
63
           LCD_printfxy(0,3,"Off      : %5i",DruckOffsetSetting);
63
           LCD_printfxy(0,3,"Off      : %5i",DruckOffsetSetting);
64
           }
64
           }
65
           else
65
           else
66
           {
66
           {
Line 154... Line 154...
154
    case 13:
154
    case 13:
155
           LCD_printfxy(0,0,"BL-Ctrl found " );
155
           LCD_printfxy(0,0,"BL-Ctrl found " );
156
           LCD_printfxy(0,1," %c   %c   %c   %c ",MotorPresent[0] + '-',MotorPresent[1] + '-',MotorPresent[2] + '-',MotorPresent[3] + '-');
156
           LCD_printfxy(0,1," %c   %c   %c   %c ",MotorPresent[0] + '-',MotorPresent[1] + '-',MotorPresent[2] + '-',MotorPresent[3] + '-');
157
           LCD_printfxy(0,2," %c   %c   %c   %c ",MotorPresent[4] + '-',MotorPresent[5] + '-',MotorPresent[6] + '-',MotorPresent[7] + '-');
157
           LCD_printfxy(0,2," %c   %c   %c   %c ",MotorPresent[4] + '-',MotorPresent[5] + '-',MotorPresent[6] + '-',MotorPresent[7] + '-');
158
           LCD_printfxy(0,3," %c   -   -   -",MotorPresent[8] + '-');
158
           LCD_printfxy(0,3," %c   -   -   -",MotorPresent[8] + '-');
159
                   if(MotorPresent[9]) LCD_printfxy(4,3,"10");
159
                   if(MotorPresent[9]) LCD_printfxy(4,3,"10");
160
                   if(MotorPresent[10]) LCD_printfxy(8,3,"11");
160
                   if(MotorPresent[10]) LCD_printfxy(8,3,"11");
161
                   if(MotorPresent[11]) LCD_printfxy(12,3,"12");
161
                   if(MotorPresent[11]) LCD_printfxy(12,3,"12");
162
           break;
162
           break;
163
    default: MaxMenue = MenuePunkt - 1;
163
    default: MaxMenue = MenuePunkt - 1;
164
             MenuePunkt = 0;
164
             MenuePunkt = 0;
165
           break;
165
           break;
166
    }
166
    }