A question, please? With the following "while" statement, does the program wait there until both encoder pins are high? If so, then you're only detecting one of every four AB transitions when moving continually in one direction, correct?
Code:while (portb.0=0 or portb.1=0):pause 10:wend![]()




Bookmarks