UTMonkey
New Member
Hi Futz,
I don't know how much has been changed to get it into the 16F but I would place a breakpoint after the RISE label.
The first time you hit this breakpoint "should" be after the first pulse, TMR0L "should" contain the time delay between the fall and rise of the pulse.
Does the 16F use a 16 bit TMR0? what is TMR0H doing?
I love the 18F, it is my first chip but perhaps I should have cut my teeth on the 16F's?
Anyway hope this helps.
Mark
p.s. shame we can't see the TTL that is coming out of your TSOP?
I don't know how much has been changed to get it into the 16F but I would place a breakpoint after the RISE label.
The first time you hit this breakpoint "should" be after the first pulse, TMR0L "should" contain the time delay between the fall and rise of the pulse.
Does the 16F use a 16 bit TMR0? what is TMR0H doing?
I love the 18F, it is my first chip but perhaps I should have cut my teeth on the 16F's?
Anyway hope this helps.
Mark
p.s. shame we can't see the TTL that is coming out of your TSOP?