alexthefox
Senior Member
hello forum peaples.
i have a question...
how can i read differential up and differential down of a signal?
i have a question...
how can i read differential up and differential down of a signal?
state = pinX
Do
anyChange = state ^ pinX
If anyChange <> 0 Then
state = state ^ 1
If state = 1 Then
Gosub RisingEdge
Else
Gosub FallingEdge
End If
End If
Loop