Hello Folks,

Through a recent discussion, some questions came up that was confusing to me.

the manual says the RCTIME is *basically* 1/2 of the PULSIN time.

This tells me that PULSIN measures one complete cycle and returns a value. Whether you measure that cycle on the negative end, positive end... the answer is the same.

There is also a *threshold* and PULSIN AND RCTIME will not be activated until that votage is at that threshold.

Now lets take a hypothetical situation, and apply my understanding (or what I think I understand), and see what both PULSIN and RCTIME will return ok??? if i am wrong PLEASE correct my thinking!

1. A wave...(not square wave)

2. 3.5 volts high...it takes exactly 35 units(whatever measurement you want here) for one complete wave cycle.
3. Threshold of the pin is 3.4 volts.

Using pulsin, you will have the following:

case A: PULSIN pin, positive value
Value = 35

case B: PULSIN pin, negative value
Value =35

Using RCTIME, you will have the following:

case A: RCTIME pin, positive, value
VALUE = 2

case B: RCTIME pin negative value
Value = 33


Am I thinking correctly on this situation? Please correct my errors on my thinking.....if Ia m not correct, then what IS the difference between RCTIME and PULSIN?

Dwayne (thanks in advance!)