Rev 889 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 889 | Rev 891 | ||
---|---|---|---|
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 | { |
Line 30... | Line 30... | ||
30 | static unsigned char MaxMenue = 11,MenuePunkt=0; |
30 | static unsigned char MaxMenue = 13,MenuePunkt=0; |
31 | 31 | ||
32 | if(RemoteTasten & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue; LcdClear(); RemotePollDisplayLine = -1; } |
32 | if(RemoteTasten & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue; LcdClear(); RemotePollDisplayLine = -1; } |
33 | if(RemoteTasten & KEY2) { MenuePunkt++; LcdClear(); RemotePollDisplayLine = -1;} |
33 | if(RemoteTasten & KEY2) { MenuePunkt++; LcdClear(); RemotePollDisplayLine = -1;} |
Line 123... | Line 123... | ||
123 | LCD_printfxy(0,0,"ExternControl " ); |
123 | LCD_printfxy(0,0,"ExternControl " ); |
124 | LCD_printfxy(0,1,"Ni:%4i Ro:%4i ",ExternControl.Nick,ExternControl.Roll); |
124 | LCD_printfxy(0,1,"Ni:%4i Ro:%4i ",ExternControl.Nick,ExternControl.Roll); |
125 | LCD_printfxy(0,2,"Gs:%4i Gi:%4i ",ExternControl.Gas,ExternControl.Gier); |
125 | LCD_printfxy(0,2,"Gs:%4i Gi:%4i ",ExternControl.Gas,ExternControl.Gier); |
126 | LCD_printfxy(0,3,"Hi:%4i Cf:%4i ",ExternControl.Hight,ExternControl.Config); |
126 | LCD_printfxy(0,3,"Hi:%4i Cf:%4i ",ExternControl.Hight,ExternControl.Config); |
127 | break; |
127 | break; |
- | 128 | case 12: |
|
- | 129 | LCD_printfxy(0,0,"MM3 Off"); |
|
- | 130 | LCD_printfxy(0,1,"X_Offset: %3i",MM3_calib.X_off); |
|
- | 131 | LCD_printfxy(0,2,"Y_Offset: %3i",MM3_calib.Y_off); |
|
- | 132 | LCD_printfxy(0,3,"Z_Offset: %3i",MM3_calib.Z_off); |
|
- | 133 | break; |
|
- | 134 | case 13: |
|
- | 135 | LCD_printfxy(0,0,"MM3 Range"); |
|
- | 136 | LCD_printfxy(0,1,"X_Range: %4i",MM3_calib.X_range); |
|
- | 137 | LCD_printfxy(0,2,"Y_Range: %4i",MM3_calib.Y_range); |
|
- | 138 | LCD_printfxy(0,3,"Z_Range: %4i",MM3_calib.Z_range); |
|
- | 139 | break; |
|
128 | default: MaxMenue = MenuePunkt - 1; |
140 | default: MaxMenue = MenuePunkt - 1; |
129 | MenuePunkt = 0; |
141 | MenuePunkt = 0; |
130 | break; |
142 | break; |
131 | } |
143 | } |
132 | RemoteTasten = 0; |
144 | RemoteTasten = 0; |