mike50
New Member
BTW, I simulated your code with MPLAB SIM, and used the stimulus feature to feed it a 500 cycle pulse (100 microseconds) and it got the right answer (500).
I think you should change it so that when it reaches the end it just does a GOTO back to right after where you set T1CON, so that it looks for another pulse.
Mike
I think you should change it so that when it reaches the end it just does a GOTO back to right after where you set T1CON, so that it looks for another pulse.
Mike