now I am self suggesting,
maybe is it possible to use different timers?
for example
1)start TMR0 to measure time
2)start TMR1 to count pulses
3)process other things while TMR0 and TMR1 measure in background..
4)stop TMR0 to measure time
5)stop TMR1 to count pulses
6)get measured time from TMR0
7)get counted pulses from TMR1
maybe an advanced user may help me
Bookmarks