This library is used to control one or more stepper motors from an ESP32 device. It is based on the FlexyStepper library by S.Reifel but provides some additional functionality
added getters to retrieve the configured deceleration and acceleration values Added conditional code block to remove logic for second core on single core ESP2 models
Integrated PR from ameisso: Added support for an enable io pin. This allows the external driver module to be shut off if needed (and if it has an enable pin or some external components attached to enable it) via the Library. Note: this function is only to control the pin via the library, it does not automate the enable/disable functionality for you. E.g. if you set it manually to "disabled" state, you need to manually enable it again before you try to send steps to the driver.
Note: this version contains a partially a "breaking" change if you use the brake-function of the library. The brake function has been renamed (typo corrected) thus if you use it, you simply need to change your code to use "isBrakeActive" instead of "isBakeActive" (old function mane with typo, library unfortunately cannot "bake" anything for you :-) )
update readme file with missing entries for functions
only some minimal typo fixes
added Feature Request #33 open drain configuration for step and dir pins of driver. Should be a non breaking change since parameter has been added with default value to connectPins function:
void ESP_FlexyStepper::connectToPins(byte stepPinNumber, byte directionPinNumber, bool useOpenDrain)
this update does not contain real new features, it is solely for platformIO to pull the latest sources, which seems to have failed in version 1.4.4 as reported in https://github.com/pkerspe/ESP-FlexyStepper/issues/22
minor changes in method signature for ESPStepperMotor Server
added an example for using callback functions and changed function signature for position callback function
a bug has been fixed in the function setTargetPositionToStop function which caused an unwanted move when called while the motor has already come to a stop.