i have read a lot of discussions on "serin2" statements in this forum. i guess most people have come acrossed with the timeout problem in "serin2" . my project is simple as this: a 2*16 LCD is to work as a real time clock, besides, it also can receive a signal (a decimal number) from "DETECT" output of RF receiver and display the number on LCD as well as the number of times of the signal being received.
while i was using "SERIN2", the program was just hanging there without updating the real time clock. after getting some hints from the forum, i tried to put "SERIN2" in the timer1 interrupt(set to 100ms). this had really solved the " static" clock problem. however, "listening "process in every 100 ms made the # of time of signal being received not accurate.i know it was because of the noise at the "DETECT" output.
pls give me a hand to this. this question needs solving immediately. for all of the professions like u, it is just a piece of chicken. but for me, i am already at the end of the tether.
ps: 16f876 with osc at 20MHZ