ericmar
Full Member level 5
Hi everybody,
May I know how to write an independent function which does some checkings every few seconds without affecting or affected by other functions?
Basically, I just want to check if the client program at the software side is available or not by sending a string and expected a specified string from it within a certain time period!
Besides, I hv a doubt on the timing in prgramming PIC using Hightech C. I'm using 4Mhz crystal oscillator with PIC16F877. If I'm going to display a countdown timer on 4 seven-segments LEDs, how can I make sure the timer works accurately without affected by the functions processing in the PIC after the timer is started?
I'm truly appreciate for any help provided!
Regards,
Eric
May I know how to write an independent function which does some checkings every few seconds without affecting or affected by other functions?
Basically, I just want to check if the client program at the software side is available or not by sending a string and expected a specified string from it within a certain time period!
Besides, I hv a doubt on the timing in prgramming PIC using Hightech C. I'm using 4Mhz crystal oscillator with PIC16F877. If I'm going to display a countdown timer on 4 seven-segments LEDs, how can I make sure the timer works accurately without affected by the functions processing in the PIC after the timer is started?
I'm truly appreciate for any help provided!
Regards,
Eric