DexterLB
New Member
Hello. I'm using Hi-tech PICC pro and PIC12F629. I want to make a simple usart communication subroutine: I've set Timer0 to make an interrupt every 250 miliseconds. In that interrupt I want to check whether there's an incoming byte from RS232. If there isn't - exit the interrupt and resume normal work. If there is - read the byte in a variable, and start a dialog subroutine. The thing I can't make is the interrupt - how do I check if there's an incoming byte, when I use the soft usart?