DendoStepper icon indicating copy to clipboard operation
DendoStepper copied to clipboard

Expand async usage possibility

Open cedricwritescode opened this issue 6 months ago • 1 comments

Is your feature request related to a problem? Please describe. When starting a movement, it will get executed asynchronously (using the gptimer ISR). To check that the movement is completed, however, you need to poll the status.

Describe the solution you'd like The library should tell the main program that the motor movement finished, by means of a callback of some sorts. Maybe the esp_event library could be used.

Describe alternatives you've considered FreeRTOS constructs could be used as well, like binary Semaphores, queues or task notifications.

Additional context

cedricwritescode avatar Dec 06 '23 09:12 cedricwritescode