Advertisement
Guest User

moveTo fix 1

a guest
Dec 1st, 2015
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. if( gear != lastGEAR ) {
  2. detachInterrupt( wheel_ISR );
  3. moveTo ( shiftPosition[ gear ] );
  4. attachInterrupt( 1, wheel_ISR, FALLING );
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement