Rev 1356 | Rev 1407 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1356 | Rev 1377 | ||
---|---|---|---|
Line 126... | Line 126... | ||
126 | LCD_printfxy(0,1,"Richtung: %5i",KompassRichtung); |
126 | LCD_printfxy(0,1,"Richtung: %5i",KompassRichtung); |
127 | LCD_printfxy(0,2,"Messwert: %5i",KompassValue); |
127 | LCD_printfxy(0,2,"Messwert: %5i",KompassValue); |
128 | LCD_printfxy(0,3,"Start: %5i",KompassStartwert); |
128 | LCD_printfxy(0,3,"Start: %5i",KompassStartwert); |
129 | break; |
129 | break; |
130 | case 9: |
130 | case 9: |
131 | LCD_printfxy(0,0,"Poti1: %3i",Poti1); |
131 | LCD_printfxy(0,0,"Poti1: %3i",Poti[0]); |
132 | LCD_printfxy(0,1,"Poti2: %3i",Poti2); |
132 | LCD_printfxy(0,1,"Poti2: %3i",Poti[1]); |
133 | LCD_printfxy(0,2,"Poti3: %3i",Poti3); |
133 | LCD_printfxy(0,2,"Poti3: %3i",Poti[2]); |
134 | LCD_printfxy(0,3,"Poti4: %3i",Poti4); |
134 | LCD_printfxy(0,3,"Poti4: %3i",Poti[3]); |
135 | break; |
135 | break; |
136 | case 10: |
136 | case 10: |
- | 137 | LCD_printfxy(0,0,"Poti5: %3i",Poti[4]); |
|
- | 138 | LCD_printfxy(0,1,"Poti6: %3i",Poti[5]); |
|
- | 139 | LCD_printfxy(0,2,"Poti7: %3i",Poti[6]); |
|
- | 140 | LCD_printfxy(0,3,"Poti8: %3i",Poti[7]); |
|
- | 141 | break; |
|
- | 142 | case 11: |
|
137 | LCD_printfxy(0,0,"Servo " ); |
143 | LCD_printfxy(0,0,"Servo " ); |
138 | LCD_printfxy(0,1,"Setpoint %3i",Parameter_ServoNickControl); |
144 | LCD_printfxy(0,1,"Setpoint %3i",Parameter_ServoNickControl); |
139 | LCD_printfxy(0,2,"Stellung: %3i",ServoNickValue); |
145 | LCD_printfxy(0,2,"Stellung: %3i",ServoNickValue); |
140 | LCD_printfxy(0,3,"Range:%3i-%3i",EE_Parameter.ServoNickMin,EE_Parameter.ServoNickMax); |
146 | LCD_printfxy(0,3,"Range:%3i-%3i",EE_Parameter.ServoNickMin,EE_Parameter.ServoNickMax); |
141 | break; |
147 | break; |
142 | case 11: |
148 | case 12: |
143 | LCD_printfxy(0,0,"ExternControl " ); |
149 | LCD_printfxy(0,0,"ExternControl " ); |
144 | LCD_printfxy(0,1,"Ni:%4i Ro:%4i ",ExternControl.Nick,ExternControl.Roll); |
150 | 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); |
151 | 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); |
152 | LCD_printfxy(0,3,"Hi:%4i Cf:%4i ",ExternControl.Hight,ExternControl.Config); |
147 | break; |
153 | break; |
148 | case 12: |
154 | case 13: |
149 | LCD_printfxy(0,0,"BL-Ctrl Errors " ); |
155 | LCD_printfxy(0,0,"BL-Ctrl Errors " ); |
150 | LCD_printfxy(0,1," %3d %3d %3d %3d ",MotorError[0],MotorError[1],MotorError[2],MotorError[3]); |
156 | 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]); |
157 | 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]); |
158 | LCD_printfxy(0,3," %3d %3d %3d %3d ",MotorError[8],MotorError[9],MotorError[10],MotorError[11]); |
153 | break; |
159 | break; |
154 | case 13: |
160 | case 14: |
155 | LCD_printfxy(0,0,"BL-Ctrl found " ); |
161 | LCD_printfxy(0,0,"BL-Ctrl found " ); |
156 | LCD_printfxy(0,1," %c %c %c %c ",MotorPresent[0] + '-',MotorPresent[1] + '-',MotorPresent[2] + '-',MotorPresent[3] + '-'); |
162 | 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] + '-'); |
163 | LCD_printfxy(0,2," %c %c %c %c ",MotorPresent[4] + '-',MotorPresent[5] + '-',MotorPresent[6] + '-',MotorPresent[7] + '-'); |
158 | LCD_printfxy(0,3," %c - - -",MotorPresent[8] + '-'); |
164 | LCD_printfxy(0,3," %c - - -",MotorPresent[8] + '-'); |
159 | if(MotorPresent[9]) LCD_printfxy(4,3,"10"); |
165 | if(MotorPresent[9]) LCD_printfxy(4,3,"10"); |
160 | if(MotorPresent[10]) LCD_printfxy(8,3,"11"); |
166 | if(MotorPresent[10]) LCD_printfxy(8,3,"11"); |
161 | if(MotorPresent[11]) LCD_printfxy(12,3,"12"); |
167 | if(MotorPresent[11]) LCD_printfxy(12,3,"12"); |
162 | break; |
168 | break; |
163 | case 14: |
169 | case 15: |
164 | LCD_printfxy(0,0,"Flight-Time " ); |
170 | LCD_printfxy(0,0,"Flight-Time " ); |
165 | LCD_printfxy(0,1," %5umin",FlugMinuten); |
171 | LCD_printfxy(0,1," %5umin",FlugMinuten); |
166 | LCD_printfxy(0,2,"Total:%5umin",FlugMinutenGesamt); |
172 | LCD_printfxy(0,2,"Total:%5umin",FlugMinutenGesamt); |
167 | LCD_printfxy(13,3,"(reset)"); |
173 | LCD_printfxy(13,3,"(reset)"); |
168 | if(RemoteKeys & KEY4) |
174 | if(RemoteKeys & KEY4) |
169 | { |
175 | { |
170 | FlugMinuten = 0; |
176 | FlugMinuten = 0; |
171 | eeprom_write_byte(&EEPromArray[EEPROM_ADR_MINUTES2],FlugMinuten / 256); |
177 | eeprom_write_byte(&EEPromArray[EEPROM_ADR_MINUTES2],FlugMinuten / 256); |
172 | eeprom_write_byte(&EEPromArray[EEPROM_ADR_MINUTES2+1],FlugMinuten % 256); |
178 | eeprom_write_byte(&EEPromArray[EEPROM_ADR_MINUTES2+1],FlugMinuten % 256); |
173 | } |
179 | } |
174 | /* if(RemoteKeys & KEY3 && FlugMinuten == 0) |
- | |
175 | { |
- | |
176 | FlugMinutenGesamt = 0; |
- | |
177 | eeprom_write_byte(&EEPromArray[EEPROM_ADR_MINUTES],FlugMinutenGesamt / 256); |
- | |
178 | eeprom_write_byte(&EEPromArray[EEPROM_ADR_MINUTES+1],FlugMinutenGesamt % 256); |
- | |
179 | } */ |
- | |
180 | break; |
180 | break; |
Line 181... | Line 181... | ||
181 | 181 | ||
182 | default: MaxMenue = MenuePunkt - 1; |
182 | default: MaxMenue = MenuePunkt - 1; |
183 | MenuePunkt = 0; |
183 | MenuePunkt = 0; |