|
Re: Encoder programming help needed.
Doesn't the Encoder Get always read zero because of the Encoder Reset just before the Get?
You might want to run this in Debug and probe the wires to see what values you are getting.
It looks like the logic of when to Reset needs a little work.
The Reset can be moved into the True case, but you also need to add an interlock that doesn't do the Reset unless the button is False.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 06-07-2015 at 20:12.
|