Rev 1984 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1984 | Rev 2013 | ||
---|---|---|---|
Line 116... | Line 116... | ||
116 | JetiBox_printfxy(2,0,"No NaviCtrl!"); |
116 | JetiBox_printfxy(2,0,"No NaviCtrl!"); |
117 | } |
117 | } |
118 | } |
118 | } |
Line -... | Line 119... | ||
- | 119 | ||
- | 120 | ||
- | 121 | // MartinR für Jeti+ Anfang |
|
- | 122 | void Menu_spoti1(uint8_t key) |
|
- | 123 | { //0123456789ABCDEF |
|
- | 124 | ||
- | 125 | JetiBox_printfxy(0,0,">%3i=Serialpot1",PPM_in[13]); |
|
- | 126 | //JetiBox_printfxy(0,1," %3i=Serialpot2",PPM_in[14]); |
|
- | 127 | if(key== JETIBOX_KEY_UP) PPM_in[13] = PPM_in[13]+25; |
|
- | 128 | if(key== JETIBOX_KEY_DOWN) PPM_in[13] = PPM_in[13]-25; |
|
- | 129 | } |
|
- | 130 | ||
- | 131 | void Menu_spoti2(uint8_t key) |
|
- | 132 | { //0123456789ABCDEF |
|
- | 133 | ||
- | 134 | //JetiBox_printfxy(0,0," %3i=Serialpot1",PPM_in[13]); |
|
- | 135 | JetiBox_printfxy(0,1,">%3i=Serialpot2",PPM_in[14]); |
|
- | 136 | if(key== JETIBOX_KEY_UP) PPM_in[14] = PPM_in[14]+2; |
|
- | 137 | if(key== JETIBOX_KEY_DOWN) PPM_in[14] = PPM_in[14]-2; |
|
- | 138 | } |
|
- | 139 | ||
119 | 140 | // MartinR für Jeti+ Ende |
|
120 | 141 | ||
121 | // ----------------------------------------------------------- |
142 | // ----------------------------------------------------------- |
122 | // the menu topology |
143 | // the menu topology |
Line 139... | Line 160... | ||
139 | 160 | ||
Line 140... | Line 161... | ||
140 | */ |
161 | */ |
141 | 162 | ||
- | 163 | const MENU_ENTRY JetiBox_Menu[] PROGMEM= |
|
142 | const MENU_ENTRY JetiBox_Menu[] PROGMEM= |
164 | { // l r u d pHandler |
143 | { // l r u d pHandler |
165 | //{4, 1, 0, 0, &Menu_Status }, // 0 // MartinR: so war es |
144 | {4, 1, 0, 0, &Menu_Status }, // 0 |
166 | {6, 1, 0, 0, &Menu_Status }, // 0 // MartinR: geändert |
145 | {0, 2, 1, 1, &Menu_Temperature }, // 1 |
167 | {0, 2, 1, 1, &Menu_Temperature }, // 1 |
146 | {1, 3, 2, 2, &Menu_Battery }, // 2 |
168 | {1, 3, 2, 2, &Menu_Battery }, // 2 |
- | 169 | {2, 4, 3, 3, &Menu_PosInfo }, // 3 |
|
- | 170 | //{3, 0, 4, 4, &Magnet_Values } // 4 // MartinR: so war es |
|
- | 171 | {3, 5, 4, 4, &Magnet_Values }, // 4 // MartinR: geändert |
|
- | 172 | ||
- | 173 | {4, 6, 5, 5, &Menu_spoti1 }, // 5 // MartinR: für Jeti+ |
|
147 | {2, 4, 3, 3, &Menu_PosInfo }, // 3 |
174 | {5, 0, 6, 6, &Menu_spoti2 }, // 6 // MartinR: für Jeti+ |
Line 148... | Line 175... | ||
148 | {3, 0, 4, 4, &Magnet_Values } // 4 |
175 | |
149 | }; |
176 | }; |
150 | 177 |