From e958e07d0bbb366db4df336d9e98e431a9b3e7f5 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Sat, 8 Jul 2023 18:30:29 -0500 Subject: [PATCH] Update Stepper.md --- docs/Stepper.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Stepper.md b/docs/Stepper.md index 06146d3..3f89bea 100644 --- a/docs/Stepper.md +++ b/docs/Stepper.md @@ -29,17 +29,17 @@ Click on either of the driver-specific classes above for complete details on how The **StepperControl** class provides the following methods to operate and control a stepper motor object instantiated with one of the driver-specific classes described above: -* `void enable()` +* `StepperControl *enable()` * enables current flow to the stepper motor coils, actively holding the motor in its position * returns pointer to itself so methods can be daisy-chained * example: `myMotor=(new Stepper_TB6612(23,32,22,14,33,27))->enable();` -* `void disable()` +* `StepperControl *disable()` * disables current flow to the stepper motor coils and leaves them in a state of high impedence, allowing the motor to turn freely * returns pointer to itself so methods can be daisy-chained * example: `myMotor=(new Stepper_TB6612(23,32,22,14,33,27))->disable();` -* `void brake()` +* `StepperControl *brake()` * disables current flow to the stepper motor coils but leaves them in a state of low impedence, preventing the motor from freely turning * applicable only for driver chips that support a "short brake" mode, otherwise has no effect * returns pointer to itself so methods can be daisy-chained