Pulse/direction counting
Mickster
Posts: 2,693
in Propeller 2
To increment/decrement a counter based on the high/low state of another input; is there a smartpin mode for doing this or would it need to be coded?
Comments
I think mode %01101 is exactly what you want:
The predefined constant for that mode:
P_REG_UP_DOWN
Outstanding!!!!
Many thanks again, Andy This P2 is a dream-come-true