button to stop stepper

Thanks i have edited post :slight_smile:

I am using push button for input this is the button digram here and i am using Arduino MEGA