Subversion Repositories FlightCtrl

Rev

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

Rev 1210 Rev 1211
Line 10... Line 10...
10
#define ARRAYGROESSE 10
10
#define ARRAYGROESSE 10
11
unsigned char Array[ARRAYGROESSE] = {1,2,3,4,5,6,7,8,9,10};
11
unsigned char Array[ARRAYGROESSE] = {1,2,3,4,5,6,7,8,9,10};
12
char DisplayBuff[80] = "Hallo Welt";
12
char DisplayBuff[80] = "Hallo Welt";
13
unsigned char DispPtr = 0;
13
unsigned char DispPtr = 0;
Line 14... Line 14...
14
 
14
 
15
unsigned char MaxMenue = 12;
15
unsigned char MaxMenue = 13;
16
unsigned char MenuePunkt = 0;
16
unsigned char MenuePunkt = 0;
Line 17... Line 17...
17
unsigned char RemoteKeys = 0;
17
unsigned char RemoteKeys = 0;
18
 
18
 
Line 144... Line 144...
144
           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);
145
           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);
146
           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);
147
           break;
147
           break;
148
    case 12:
148
    case 12:
-
 
149
           LCD_printfxy(0,0,"BL-Ctrl Errors " );
-
 
150
           LCD_printfxy(0,1," %3d  %3d  %3d  %3d ",MotorError[0],MotorError[1],MotorError[2],MotorError[3]);
-
 
151
           LCD_printfxy(0,2," %3d  %3d  %3d  %3d ",MotorError[4],MotorError[5],MotorError[6],MotorError[7]);
-
 
152
           LCD_printfxy(0,3," %3d  %3d  %3d  %3d ",MotorError[8],MotorError[9],MotorError[10],MotorError[11]);
-
 
153
           break;
-
 
154
    case 13:
149
           LCD_printfxy(0,0,"BL-Ctrl found " );
155
           LCD_printfxy(0,0,"BL-Ctrl found " );
150
           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] + '-');
151
           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] + '-');
152
           LCD_printfxy(0,3," %c   -   -   -",MotorPresent[8] + '-');
158
           LCD_printfxy(0,3," %c   -   -   -",MotorPresent[8] + '-');
153
                   if(MotorPresent[9]) LCD_printfxy(4,3,"10");
159
                   if(MotorPresent[9]) LCD_printfxy(4,3,"10");
154
                   if(MotorPresent[10]) LCD_printfxy(8,3,"11");
160
                   if(MotorPresent[10]) LCD_printfxy(8,3,"11");
155
                   if(MotorPresent[11]) LCD_printfxy(12,3,"12");
161
                   if(MotorPresent[11]) LCD_printfxy(12,3,"12");
156
           break;
162
           break;
157
 
-
 
158
    default: MaxMenue = MenuePunkt - 1;
163
    default: MaxMenue = MenuePunkt - 1;
159
             MenuePunkt = 0;
164
             MenuePunkt = 0;
160
           break;
165
           break;
161
    }
166
    }
162
    RemoteKeys = 0;
167
    RemoteKeys = 0;