And …. It’s worth getting the parts working on their own .
Get the encoder working and displaying numbers on the screen . Map
It’s values and check that works .
Get the stepper running on its own and try different speeds ( delays between steps ) .
De bugging by printing out your variables to the monitor helps you follow what is happening .
1 Like