Rev 395 | Rev 492 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 395 | Rev 401 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | for(i=0;i<80;i++) DisplayBuff[i] = ' '; |
25 | for(i=0;i<80;i++) DisplayBuff[i] = ' '; |
26 | } |
26 | } |
Line 27... | Line 27... | ||
27 | 27 | ||
28 | void Menu(void) |
28 | void Menu(void) |
29 | { |
29 | { |
- | 30 | static unsigned char MaxMenue = 10,MenuePunkt=0; |
|
Line 30... | Line 31... | ||
30 | static unsigned char MaxMenue = 10,MenuePunkt=0; |
31 | |
31 | 32 | ||
32 | if(RemoteTasten & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue; LcdClear(); } |
33 | if(RemoteTasten & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue; LcdClear(); } |
33 | if(RemoteTasten & KEY2) { MenuePunkt++; LcdClear(); } |
34 | if(RemoteTasten & KEY2) { MenuePunkt++; LcdClear(); } |
Line 76... | Line 77... | ||
76 | LCD_printfxy(0,2,"P1:%4i P2:%4i ",PPM_in[EE_Parameter.Kanalbelegung[K_POTI1]],PPM_in[EE_Parameter.Kanalbelegung[K_POTI2]]); |
77 | LCD_printfxy(0,2,"P1:%4i P2:%4i ",PPM_in[EE_Parameter.Kanalbelegung[K_POTI1]],PPM_in[EE_Parameter.Kanalbelegung[K_POTI2]]); |
77 | LCD_printfxy(0,3,"P3:%4i P4:%4i ",PPM_in[EE_Parameter.Kanalbelegung[K_POTI3]],PPM_in[EE_Parameter.Kanalbelegung[K_POTI4]]); |
78 | LCD_printfxy(0,3,"P3:%4i P4:%4i ",PPM_in[EE_Parameter.Kanalbelegung[K_POTI3]],PPM_in[EE_Parameter.Kanalbelegung[K_POTI4]]); |
78 | break; |
79 | break; |
79 | case 5: |
80 | case 5: |
80 | LCD_printfxy(0,0,"Gyro - Sensor"); |
81 | LCD_printfxy(0,0,"Gyro - Sensor"); |
- | 82 | if(PlatinenVersion == 10) |
|
- | 83 | { |
|
81 | LCD_printfxy(0,1,"Nick %4i (%3i)",AdWertNick - AdNeutralNick, AdNeutralNick); |
84 | LCD_printfxy(0,1,"Nick %4i (%3i)",AdWertNick - AdNeutralNick, AdNeutralNick); |
82 | LCD_printfxy(0,2,"Roll %4i (%3i)",AdWertRoll - AdNeutralRoll, AdNeutralRoll); |
85 | LCD_printfxy(0,2,"Roll %4i (%3i)",AdWertRoll - AdNeutralRoll, AdNeutralRoll); |
83 | LCD_printfxy(0,3,"Gier %4i (%3i)",MesswertGier, AdNeutralGier); |
86 | LCD_printfxy(0,3,"Gier %4i (%3i)",MesswertGier, AdNeutralGier); |
- | 87 | } |
|
- | 88 | else |
|
- | 89 | { |
|
- | 90 | LCD_printfxy(0,1,"Nick %4i (%3i)",AdWertNick - AdNeutralNick, AdNeutralNick/2); |
|
- | 91 | LCD_printfxy(0,2,"Roll %4i (%3i)",AdWertRoll - AdNeutralRoll, AdNeutralRoll/2); |
|
- | 92 | LCD_printfxy(0,3,"Gier %4i (%3i)",MesswertGier, AdNeutralGier/2); |
|
- | 93 | } |
|
84 | break; |
94 | break; |
85 | case 6: |
95 | case 6: |
86 | LCD_printfxy(0,0,"ACC - Sensor"); |
96 | LCD_printfxy(0,0,"ACC - Sensor"); |
87 | LCD_printfxy(0,1,"Nick %4i (%3i)",AdWertAccNick,NeutralAccX); |
97 | LCD_printfxy(0,1,"Nick %4i (%3i)",AdWertAccNick,NeutralAccX); |
88 | LCD_printfxy(0,2,"Roll %4i (%3i)",AdWertAccRoll,NeutralAccY); |
98 | LCD_printfxy(0,2,"Roll %4i (%3i)",AdWertAccRoll,NeutralAccY); |