since most chips have a rxbuffer you could also take advantage of
Code:ISR: rx_hit=1 while pir1.5 sdata[rx_count]=RCREG rx_count=rx_count+1 if rx_count==5 then ;stop rx for now rx_complete=1 PIE1.5=0 endif wend RESUME ENABLE
since most chips have a rxbuffer you could also take advantage of
Code:ISR: rx_hit=1 while pir1.5 sdata[rx_count]=RCREG rx_count=rx_count+1 if rx_count==5 then ;stop rx for now rx_complete=1 PIE1.5=0 endif wend RESUME ENABLE
Warning I'm not a teacher
Bookmarks