# Stepper With Button and Bounce2 Library

**URL:** <https://forum.arduino.cc/t/stepper-with-button-and-bounce2-library/928691>\
**Category:** Programming\
**Created:** [November 24, 2021, 9:08pm UTC](https://forum.arduino.cc/t/stepper-with-button-and-bounce2-library/928691 "2021-11-24T21:08:00Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![cattledog](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cattledog/32/217816_2.png) [@cattledog](https://forum.arduino.cc/u/cattledog)\
**Post date:** [November 25, 2021, 8:25pm UTC](https://forum.arduino.cc/t/stepper-with-button-and-bounce2-library/928691/24 "2021-11-25T20:25:43Z")

</div>

It has been pointed out that your program design for stepper motor movement is what is called "blocking" and it prevents reading of the buttons.

Your step/dir A4988 stepper driver will let you create a new program which can avoid "blocking".

You can find an example here  
[https://forum.arduino.cc/t/simple-stepper-program/268292](https://forum.arduino.cc/t/simple-stepper-program/268292)

and some good general reference on steppers here to help you understand

[https://forum.arduino.cc/t/stepper-motor-basics/275223](https://forum.arduino.cc/t/stepper-motor-basics/275223)

---

_[View the full topic](https://forum.arduino.cc/t/stepper-with-button-and-bounce2-library/928691)._
