Rev 754 | Rev 762 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 754 | Rev 761 | ||
---|---|---|---|
Line 94... | Line 94... | ||
94 | LCD_printfxy(0,0,"+ MikroKopter +"); |
94 | LCD_printfxy(0,0,"+ MikroKopter +"); |
95 | LCD_printfxy(0,1,"HW:V%d.%d SW:%d.%d%c",BoardRelease/10,BoardRelease%10,VERSION_MAJOR, VERSION_MINOR,VERSION_INDEX+'a'); |
95 | LCD_printfxy(0,1,"HW:V%d.%d SW:%d.%d%c",BoardRelease/10,BoardRelease%10,VERSION_MAJOR, VERSION_MINOR,VERSION_INDEX+'a'); |
96 | LCD_printfxy(0,2,"Setting: %d ", GetActiveParamSet()); |
96 | LCD_printfxy(0,2,"Setting: %d ", GetActiveParamSet()); |
97 | LCD_printfxy(0,3,"(c) Holger Buss"); |
97 | LCD_printfxy(0,3,"(c) Holger Buss"); |
98 | break; |
98 | break; |
99 | case 1:// Hight 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,"Hight: %5i",ReadingHight); |
102 | LCD_printfxy(0,0,"Height: %5i",ReadingHeight); |
103 | LCD_printfxy(0,1,"Set Point: %5i",SetPointHight); |
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,"Hight Control"); |
110 | LCD_printfxy(0,2,"Height Control"); |
111 | } |
111 | } |
Line 112... | Line 112... | ||
112 | 112 | ||
113 | break; |
113 | break; |
114 | case 2:// Attitude Menu Item |
114 | case 2:// Attitude Menu Item |
Line 146... | Line 146... | ||
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,"Hight %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); |
156 | break; |
156 | break; |
Line 174... | Line 174... | ||
174 | break; |
174 | break; |
175 | case 11://Extern Control |
175 | case 11://Extern Control |
176 | LCD_printfxy(0,0,"ExternControl " ); |
176 | LCD_printfxy(0,0,"ExternControl " ); |
177 | LCD_printfxy(0,1,"Pi:%4i Ro:%4i ",ExternControl.Pitch, ExternControl.Roll); |
177 | LCD_printfxy(0,1,"Pi:%4i Ro:%4i ",ExternControl.Pitch, ExternControl.Roll); |
178 | LCD_printfxy(0,2,"Gs:%4i Ya:%4i ",ExternControl.Thrust, ExternControl.Yaw); |
178 | LCD_printfxy(0,2,"Gs:%4i Ya:%4i ",ExternControl.Thrust, ExternControl.Yaw); |
179 | LCD_printfxy(0,3,"Hi:%4i Cf:%4i ",ExternControl.Hight, ExternControl.Config); |
179 | LCD_printfxy(0,3,"Hi:%4i Cf:%4i ",ExternControl.Height, ExternControl.Config); |
180 | break; |
180 | break; |
181 | case 12://GPS Lat/Lon coords |
181 | case 12://GPS Lat/Lon coords |
182 | if (GPSInfo.status == INVALID) |
182 | if (GPSInfo.status == INVALID) |
183 | { |
183 | { |
184 | LCD_printfxy(0,0,"No data available!"); |
184 | LCD_printfxy(0,0,"No data available!"); |