Shop OBEX P1 Docs P2 Docs Learn Events
Timers, When is it done? — Parallax Forums

Timers, When is it done?

TJHJTJHJ Posts: 243
edited 2009-02-02 04:09 in Propeller 1
So lets take example A. Measure the time of the low part of a pulsing signal. The specific signal is low about 90% of the time, I am looking to capture that low time.

I have been able to do this before, but now I am looking to offload this task to the counters.

So Mode %01100 Apin = 0, No feedback seems well suited to accomplish this task.

Lets say I clear the phsA register so now its 0. Waiting for pin low.

Pin goes low, it starts accumulating.

How can I know when the cycle is done, and not miss is and not accidentally get two pulses? My high time to grab it is very short.

There is not flag set that I can seem to find. ( I suck at counters if you couldn't tell. )

Thanks
TJ
Sign In or Register to comment.