Rev 205 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 205 | Rev 341 | ||
---|---|---|---|
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 = 10,MenuePunkt=0; |
30 | static unsigned char MaxMenue = 11,MenuePunkt=0; |
31 | 31 | ||
32 | if(RemoteTasten & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue; LcdClear(); } |
32 | if(RemoteTasten & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue; LcdClear(); } |
33 | if(RemoteTasten & KEY2) { MenuePunkt++; LcdClear(); } |
33 | if(RemoteTasten & KEY2) { MenuePunkt++; LcdClear(); } |
Line 108... | Line 108... | ||
108 | LCD_printfxy(0,0,"Servo " ); |
108 | LCD_printfxy(0,0,"Servo " ); |
109 | LCD_printfxy(0,1,"Setpoint %3i",Parameter_ServoNickControl); |
109 | LCD_printfxy(0,1,"Setpoint %3i",Parameter_ServoNickControl); |
110 | LCD_printfxy(0,2,"Stellung: %3i",ServoValue); |
110 | LCD_printfxy(0,2,"Stellung: %3i",ServoValue); |
111 | LCD_printfxy(0,3,"Range:%3i-%3i",EE_Parameter.ServoNickMin,EE_Parameter.ServoNickMax); |
111 | LCD_printfxy(0,3,"Range:%3i-%3i",EE_Parameter.ServoNickMin,EE_Parameter.ServoNickMax); |
112 | break; |
112 | break; |
- | 113 | case 11: |
|
- | 114 | LCD_printfxy(0,0,"MM3 kalib."); |
|
- | 115 | LCD_printfxy(0,1,"X_Offset: %3i",X_off); |
|
- | 116 | LCD_printfxy(0,2,"Y_Offset: %3i",Y_off); |
|
- | 117 | LCD_printfxy(0,3,"Z_Offset: %3i",Z_off); |
|
- | 118 | break; |
|
113 | default: MaxMenue = MenuePunkt - 1; |
119 | default: MaxMenue = MenuePunkt - 1; |
114 | MenuePunkt = 0; |
120 | MenuePunkt = 0; |
115 | break; |
121 | break; |
116 | } |
122 | } |
117 | RemoteTasten = 0; |
123 | RemoteTasten = 0; |