Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there a possability to use AccelStepper in a non-blocking way "in the backround" #18

Open
StefanL38 opened this issue Nov 18, 2022 · 0 comments

Comments

@StefanL38
Copy link

Hello Everybody,

as far as I have used AccelStepper there are two main ways to use it

  1. in a blocking way which means no other code can be executed until the stepper-move has finished
  2. in a non-blocking way which requires to call function run() at a high frequency to ensure that all step-pulses are created just in time?

Is there any way to run accelstepper to create stepper-pulses and in parallel to use the serial interface or to read in onewire.sensors (which is "blocking for 870 milliseconds)

Does anybody know of a another stepper-motor-library that is able to do this?

best regards Stefan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant