Quote Originally Posted by flotulopex View Post
Is it possible to make PULSIN scan a pin without time limitation (=until a signal is detected)?
Hi, Roger ...

Of course :

place a waiting loop,

you detect the first pulse with an interrupt: Alain's interrupt is the best here for latency ... as there is nothing to save ! ( RCTime is to use at first here !!! ) and place your RCTime's "gang" in the interrupt stubb ...

( no RETFIE or GOTO needed ! )

then, your display routine ...

Then back to the waiting loop.



now, for better precision ...

you should use

PULSIN
RCTIME
RCTIME
RCTIME
...

instead of a FOR-NEXT Loop ...


Is there something you don't know about, hein???
Easy answer is ... WOMEN !!!

True answer is Biology, Medicine and such specialities ... more generally what do not accept a mathematical model !!! ( at least yet ...)

One exception : Horses !!!

Have a nice Sunday

Alain