Stop stepper motor when condition satisfy

Thanks for your answer. I got it. :slight_smile: :slight_smile: