Ray,
Thanks for the prompt response. Yes, the Cambriancoasters sketch works correctly when setCurrentPosition(0) is commented out. Thank you. I missed understanding that when reading the sketch. Now I need to add back in the auto-align on startup. I have a CUI absolute encoder attached and working, will need to add that code to the sketch as well.
One interesting thing, the motor I am using is a bipolar 0.9° stepper and it has 6,400 positions per revolution when microstepping. I do have it set to AFMStop.getStepper(400, 2). That is some pretty fine resolution.
Again, Ray, I want to thank you for sharing your talents with the code and support that you have provided.
@ ianjeffery, thanks for the link to the keypad. However, I am using a Mega so plenty of pins available, and I want to use a red switch for the head and black for the tail with the two switches placed on the respective ray track on the local panel. Simple and intuitive is my objective. (control booth has a red metal roof)
Warmest Regards,
Dave