DendoStepper
DendoStepper copied to clipboard
Expand async usage possibility
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