Bmac’s original sketch works only in steps*ratio is less than about 32000. If you make the changes as per message #70 it will work. There are some other issues but they are largely a matter of precision which might not even be noticeable.
My sketch uses the same keyboard coding as bmac’s but the keypad is connected to the pins differently.
John
My sketch uses the same keyboard coding as bmac’s but the keypad is connected to the pins differently.
John