Rev 35 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 35 | Rev 39 | ||
---|---|---|---|
Line 176... | Line 176... | ||
176 | // -------------------------------------------------------------------------- |
176 | // -------------------------------------------------------------------------- |
177 | void BearbeiteRxDaten(void) |
177 | void BearbeiteRxDaten(void) |
178 | { |
178 | { |
179 | if(!NeuerDatensatzEmpfangen) return; |
179 | if(!NeuerDatensatzEmpfangen) return; |
Line 180... | Line 180... | ||
180 | 180 | ||
181 | unsigned int tmp_int_arr1[1]; |
181 | // unsigned int tmp_int_arr1[1]; |
182 | unsigned int tmp_int_arr2[2]; |
182 | // unsigned int tmp_int_arr2[2]; |
183 | unsigned int tmp_int_arr3[3]; |
183 | // unsigned int tmp_int_arr3[3]; |
184 | unsigned char tmp_char_arr2[2]; |
184 | unsigned char tmp_char_arr2[2]; |
185 | unsigned char tmp_char_arr3[3]; |
185 | // unsigned char tmp_char_arr3[3]; |
186 | unsigned char tmp_char_arr4[4]; |
186 | // unsigned char tmp_char_arr4[4]; |
187 | //if(!MotorenEin) |
187 | //if(!MotorenEin) |
188 | PcZugriff = 255; |
188 | PcZugriff = 255; |
189 | switch(RxdBuffer[2]) |
189 | switch(RxdBuffer[2]) |
190 | { |
190 | { |
Line 314... | Line 314... | ||
314 | if(DebugDisplayAnforderung && UebertragungAbgeschlossen) |
314 | if(DebugDisplayAnforderung && UebertragungAbgeschlossen) |
315 | { |
315 | { |
316 | Menu(); |
316 | Menu(); |
317 | DebugDisplayAnforderung = 0; |
317 | DebugDisplayAnforderung = 0; |
318 | if(++dis_zeile == 4) dis_zeile = 0; |
318 | if(++dis_zeile == 4) dis_zeile = 0; |
319 | SendOutData('0' + dis_zeile,0,&DisplayBuff[20 * dis_zeile],20); // DisplayZeile übertragen |
319 | SendOutData('0' + dis_zeile,0,(unsigned char *)&DisplayBuff[20 * dis_zeile],20); // DisplayZeile übertragen |
320 | } |
320 | } |
321 | if(GetVersionAnforderung && UebertragungAbgeschlossen) |
321 | if(GetVersionAnforderung && UebertragungAbgeschlossen) |
322 | { |
322 | { |
323 | SendOutData('V',MeineSlaveAdresse,(unsigned char *) &VersionInfo,sizeof(VersionInfo)); |
323 | SendOutData('V',MeineSlaveAdresse,(unsigned char *) &VersionInfo,sizeof(VersionInfo)); |
324 | GetVersionAnforderung = 0; |
324 | GetVersionAnforderung = 0; |