stepper.currentPosition(); // this function retuns current stepper position over serial.println()...written in accelstepper library
It might return the current position, but you are discarding that information.
stepper.currentPosition(); // this function retuns current stepper position over serial.println()...written in accelstepper library
It might return the current position, but you are discarding that information.