Rev 2035 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2035 | Rev 2041 | ||
---|---|---|---|
Line 153... | Line 153... | ||
153 | */ |
153 | */ |
154 | case 2:// Attitude Menu Item |
154 | case 2:// Attitude Menu Item |
155 | LCD_printfxy(0,0,"Attitude"); |
155 | LCD_printfxy(0,0,"Attitude"); |
156 | LCD_printfxy(0,1,"Nick: %5i", angle[PITCH] / GYRO_DEG_FACTOR_PITCHROLL); |
156 | LCD_printfxy(0,1,"Nick: %5i", angle[PITCH] / GYRO_DEG_FACTOR_PITCHROLL); |
157 | LCD_printfxy(0,2,"Roll: %5i", angle[ROLL ] / GYRO_DEG_FACTOR_PITCHROLL); |
157 | LCD_printfxy(0,2,"Roll: %5i", angle[ROLL ] / GYRO_DEG_FACTOR_PITCHROLL); |
158 | LCD_printfxy(0,3,"Heading: %5i", compassHeading); |
158 | LCD_printfxy(0,3,"Heading(M):%5i", magneticHeading); |
159 | break; |
159 | break; |
160 | case 3:// Remote Control Channel Menu Item |
160 | case 3:// Remote Control Channel Menu Item |
161 | LCD_printfxy(0,0,"C1:%4i C2:%4i ",PPM_in[1],PPM_in[2]); |
161 | LCD_printfxy(0,0,"C1:%4i C2:%4i ",PPM_in[1],PPM_in[2]); |
162 | LCD_printfxy(0,1,"C3:%4i C4:%4i ",PPM_in[3],PPM_in[4]); |
162 | LCD_printfxy(0,1,"C3:%4i C4:%4i ",PPM_in[3],PPM_in[4]); |
163 | LCD_printfxy(0,2,"C5:%4i C6:%4i ",PPM_in[5],PPM_in[6]); |
163 | LCD_printfxy(0,2,"C5:%4i C6:%4i ",PPM_in[5],PPM_in[6]); |
Line 206... | Line 206... | ||
206 | LCD_printfxy(0,2,"RC-Level: %5i",RCQuality); |
206 | LCD_printfxy(0,2,"RC-Level: %5i",RCQuality); |
207 | break; |
207 | break; |
208 | case 8:// Compass Menu Item |
208 | case 8:// Compass Menu Item |
209 | LCD_printfxy(0,0,"Compass "); |
209 | LCD_printfxy(0,0,"Compass "); |
210 | LCD_printfxy(0,1,"Course: %5i", compassCourse); |
210 | LCD_printfxy(0,1,"Course: %5i", compassCourse); |
211 | LCD_printfxy(0,2,"Heading: %5i", compassHeading); |
211 | LCD_printfxy(0,2,"Heading: %5i", magneticHeading); |
212 | LCD_printfxy(0,3,"OffCourse: %5i", ((540 + compassHeading - compassCourse) % 360) - 180); |
212 | LCD_printfxy(0,3,"OffCourse: %5i", ((540 + magneticHeading - compassCourse) % 360) - 180); |
213 | break; |
213 | break; |
214 | case 9:// Poti Menu Item |
214 | case 9:// Poti Menu Item |
215 | LCD_printfxy(0,0,"Po1: %3i Po5: %3i" ,variables[0], variables[4]); //PPM24-Extesion |
215 | LCD_printfxy(0,0,"Po1: %3i Po5: %3i" ,variables[0], variables[4]); //PPM24-Extesion |
216 | LCD_printfxy(0,1,"Po2: %3i Po6: %3i" ,variables[1], variables[5]); //PPM24-Extesion |
216 | LCD_printfxy(0,1,"Po2: %3i Po6: %3i" ,variables[1], variables[5]); //PPM24-Extesion |
217 | LCD_printfxy(0,2,"Po3: %3i Po7: %3i" ,variables[2], variables[6]); //PPM24-Extesion |
217 | LCD_printfxy(0,2,"Po3: %3i Po7: %3i" ,variables[2], variables[6]); //PPM24-Extesion |