kad_911
Member level 2
Hello,
I'm using a PIC16F877A to communicate with a host computer through Serial Communcation. The problem is, The computer doesn't send data to the MCU all the time. But when data is sent, the MCU should detect that and goto the relavent program. Is there a way to detect incoming data from the pc to the MCU without checking all the time using a endless while loop? A specific interrupt perhaps?
thanks
I'm using a PIC16F877A to communicate with a host computer through Serial Communcation. The problem is, The computer doesn't send data to the MCU all the time. But when data is sent, the MCU should detect that and goto the relavent program. Is there a way to detect incoming data from the pc to the MCU without checking all the time using a endless while loop? A specific interrupt perhaps?
thanks