does the 16f73 have the ability to measure a pulse width in the back ground?
does it have to be on a specific pin?
im trying to make a loop that stays in the loop as long as the PWM signal on PORTB.0 is short enough.
psuedo idea.
run in backgroung ---> while 100ms>PWM>1ms stay in loop
loop:
high portb.2
pause 100
low portb.2
goto loop
i cant use the pulsin command beacuse the loop doesnt run smooth enough.
i need this small loop to cycle consistatly as long as the pwm input signal is short enough.
Bookmarks