I would reset TCNT1 t0 0 after every read. Then drop the pcount.
What do you know about the Vss signal. You could use a timer to count the period of each cycle.
I would reset TCNT1 t0 0 after every read. Then drop the pcount.
What do you know about the Vss signal. You could use a timer to count the period of each cycle.