Using a PIC16C84, How do detect two pulses in a one second time frame, check that they are both longer than 100ms and wether or not they occurred in half a second or one second. And to really complicate things, run two independant timers, one between 1/2 and 4 hours, and the other between 3 and 10 minutes ? Each one resetable by the pulse train in the begining of this query ?Are you able to give me some advice or some code please ? Please mail me direct so the list does not get cluttered up. Thankyou Gordon