Ken Forgettable wrote:I asked the bus driver - he said it would work
dmitri wrote:And I agree with him.
Ken Forgettable wrote:dmitri wrote:And I agree with him.
You speak Polish?
And while we're at it, what about moving LED contol to the PIC
dmitri wrote:If there is a reason for this explained in simplified English.
dmitri wrote:Until somebody implements "bit banging" or Atmega SPI protocol in PIC18F2550 firmware...
if (msgparsestate==MSG_IDLE){
ch=uart_getchar(1);
}else{
ch=uart_getchar(0);
}
// parse message according to appl. note AVR068 table 3-1:
if (msgparsestate==MSG_IDLE && ch == MESSAGE_START){
msgparsestate=MSG_WAIT_SEQNUM;
cksum = ch^0;
continue;
}
Users browsing this forum: Google [Bot] and 83 guests