A simple stepper motor driver library, supporting micro-stepping drivers.
Dependents: Test_LCDTS_UI_StepperMove
Diff: Stepper.cpp
- Revision:
- 2:97b1bc1f0b5f
- Parent:
- 1:d453a05ce39e
--- a/Stepper.cpp Wed Nov 11 11:10:28 2020 +0000 +++ b/Stepper.cpp Sat Nov 14 11:44:18 2020 +0000 @@ -1,5 +1,4 @@ #include "Stepper.h" -#include "mbed.h" stepper::stepper(PinName _en, PinName _stepPin, PinName _dir): en(_en), @@ -12,10 +11,6 @@ stepper(_en,_stepPin,_dirG), dirD(_dirD) {} - -/*void stepper::move(float pos_current, float pos_togo, float speed) -{ - if ( */ void stepper::step(int direction, float speed) {