Subversion Repositories FlightCtrl

Rev

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

Rev 1622 Rev 1638
Line 162... Line 162...
162
                   LCD_printfxy(0,1,"%3d %3d %3d %3d ",Motor[0].State & MOTOR_STATE_ERROR_MASK,Motor[1].State & MOTOR_STATE_ERROR_MASK,Motor[2].State & MOTOR_STATE_ERROR_MASK,Motor[3].State & MOTOR_STATE_ERROR_MASK);
162
                   LCD_printfxy(0,1,"%3d %3d %3d %3d ",Motor[0].State & MOTOR_STATE_ERROR_MASK,Motor[1].State & MOTOR_STATE_ERROR_MASK,Motor[2].State & MOTOR_STATE_ERROR_MASK,Motor[3].State & MOTOR_STATE_ERROR_MASK);
163
                   LCD_printfxy(0,2,"%3d %3d %3d %3d ",Motor[4].State & MOTOR_STATE_ERROR_MASK,Motor[5].State & MOTOR_STATE_ERROR_MASK,Motor[6].State & MOTOR_STATE_ERROR_MASK,Motor[7].State & MOTOR_STATE_ERROR_MASK);
163
                   LCD_printfxy(0,2,"%3d %3d %3d %3d ",Motor[4].State & MOTOR_STATE_ERROR_MASK,Motor[5].State & MOTOR_STATE_ERROR_MASK,Motor[6].State & MOTOR_STATE_ERROR_MASK,Motor[7].State & MOTOR_STATE_ERROR_MASK);
164
                   LCD_printfxy(0,3,"%3d %3d %3d %3d ",Motor[8].State & MOTOR_STATE_ERROR_MASK,Motor[9].State & MOTOR_STATE_ERROR_MASK,Motor[10].State & MOTOR_STATE_ERROR_MASK,Motor[11].State & MOTOR_STATE_ERROR_MASK);
164
                   LCD_printfxy(0,3,"%3d %3d %3d %3d ",Motor[8].State & MOTOR_STATE_ERROR_MASK,Motor[9].State & MOTOR_STATE_ERROR_MASK,Motor[10].State & MOTOR_STATE_ERROR_MASK,Motor[11].State & MOTOR_STATE_ERROR_MASK);
165
           break;
165
           break;
166
    case 15:
166
    case 15:
-
 
167
           LCD_printfxy(0,0,"BL Temperature" );
-
 
168
                   LCD_printfxy(0,1,"%3i %3i %3i %3i ",Motor[0].Temperature,Motor[1].Temperature,Motor[2].Temperature,Motor[3].Temperature);
-
 
169
                   LCD_printfxy(0,2,"%3i %3i %3i %3i ",Motor[4].Temperature,Motor[5].Temperature,Motor[6].Temperature,Motor[7].Temperature);
-
 
170
                   LCD_printfxy(0,3,"%3i %3i %3i %3i ",Motor[8].Temperature,Motor[9].Temperature,Motor[10].Temperature,Motor[11].Temperature);
-
 
171
           break;
-
 
172
    case 16:
167
           LCD_printfxy(0,0,"BL-Ctrl found " );
173
           LCD_printfxy(0,0,"BL-Ctrl found " );
168
                   LCD_printfxy(0,1," %c   %c   %c   %c ",'-' + 4 * (Motor[0].State>>7),'-' + 5 * (Motor[1].State>>7),'-' + 6 * (Motor[2].State>>7),'-' + 7 * (Motor[3].State>>7));
174
                   LCD_printfxy(0,1," %c   %c   %c   %c ",'-' + 4 * (Motor[0].State>>7),'-' + 5 * (Motor[1].State>>7),'-' + 6 * (Motor[2].State>>7),'-' + 7 * (Motor[3].State>>7));
169
                   LCD_printfxy(0,2," %c   %c   %c   %c ",'-' + 8 * (Motor[4].State>>7),'-' + 9 * (Motor[5].State>>7),'-' + 10 * (Motor[6].State>>7),'-' + 11 * (Motor[7].State>>7));
175
                   LCD_printfxy(0,2," %c   %c   %c   %c ",'-' + 8 * (Motor[4].State>>7),'-' + 9 * (Motor[5].State>>7),'-' + 10 * (Motor[6].State>>7),'-' + 11 * (Motor[7].State>>7));
170
                   LCD_printfxy(0,3," %c   -   -   - ",'-' + 12 * (Motor[8].State>>7));
176
                   LCD_printfxy(0,3," %c   -   -   - ",'-' + 12 * (Motor[8].State>>7));
171
                   if(Motor[9].State>>7)  LCD_printfxy(4,3,"10");
177
                   if(Motor[9].State>>7)  LCD_printfxy(4,3,"10");
172
                   if(Motor[10].State>>7) LCD_printfxy(8,3,"11");
178
                   if(Motor[10].State>>7) LCD_printfxy(8,3,"11");
173
                   if(Motor[11].State>>7) LCD_printfxy(12,3,"12");
179
                   if(Motor[11].State>>7) LCD_printfxy(12,3,"12");
174
           break;
180
           break;
175
    case 16:
181
    case 17:
176
           LCD_printfxy(0,0,"Flight-Time  " );
182
           LCD_printfxy(0,0,"Flight-Time  " );
177
           LCD_printfxy(0,1,"Total:%5umin",FlugMinutenGesamt);
183
           LCD_printfxy(0,1,"Total:%5umin",FlugMinutenGesamt);
178
           LCD_printfxy(0,2,"Act:  %5umin",FlugMinuten);
184
           LCD_printfxy(0,2,"Act:  %5umin",FlugMinuten);
179
           LCD_printfxy(13,3,"(reset)");
185
           LCD_printfxy(13,3,"(reset)");
180
                   if(RemoteKeys & KEY4)
186
                   if(RemoteKeys & KEY4)