Hi mackrackit,
the statement is correct, I read the "down" time of the signal, ad the value returned by PULSIN is correct and into the value that I aspect.
I do not see the pulse in phase with PULSIN generate by this statement
SData var PORTB.7 ' RB7 output pin for measurement pulse duration
.....
High SData: pauseus 1: low SDatapulse
.....
SData is aspected lengh one microsecond, and when is show have correct lenght, but non in phase with begin/end of PULSIN.
Ciao
Leo
Bookmarks