Hi Melanie,
It works now. I'm using @ SLEEP command. I tried to use this command before but didn't work. Now, i think by using @ DEVICE pic16F877, WDT_OFF, it is working. Thanks.
At the moment i'm writing a Visual Basic program which displays the sent data from my '877. I have managed to send data using serout2, but i want to control the sent data before it is displayed. For example i want to press a Displaybutton to show the data.
Before i was using event driven method in the VB program. Now i'm using polling, checking the receive buffer and when it has the data i want to display it. The display code listens to the Displaybutton. My problem is when i press the Displaybutton nothing displays. How does this polling method work?
Regards,
Tom
Bookmarks