How can I pause stepper motor with ultrasonic sensor?

Please give a description of what your code actually does and how it differs from what you expect.

Please edit your post, select all code and click the code tag button; next save your post.

Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.