ESP_IOT v2.5
IOT ESP Coding
|
Go to the source code of this file.
Functions | |
int | _ourSteps (0) |
PTStepper More... | |
void | setup_PTStepper () |
setup the PTStepper More... | |
void | cycle_PTStepper () |
void | step (int steps[][4], int stepCount) |
void | clearPins () |
void | whoAreWe () |
void | start_PTStepper () |
starts the PTStepper More... | |
Variables | |
int | _targetSteps |
int | _lastType = 0 |
int | _fudgeFactor = 0 |
int | _pins [] |
int | _fullStepCount = 4 |
int | _fullSteps [][4] |
int | _currentStep = 0 |
int | _cycleCounter = 0 |
bool | _clockwise = true |
int _ourSteps | ( | 0 | ) |
void clearPins | ( | ) |
void cycle_PTStepper | ( | ) |
Definition at line 156 of file PTStepper.cpp.
void setup_PTStepper | ( | ) |
setup the PTStepper
Definition at line 131 of file PTStepper.cpp.
void start_PTStepper | ( | ) |
starts the PTStepper
Definition at line 187 of file PTStepper.cpp.
void step | ( | int | steps[][4], |
int | stepCount | ||
) |
void whoAreWe | ( | ) |
see if the motor direction is clockwise == true
Definition at line 93 of file PTStepper.cpp.
bool _clockwise = true |
Definition at line 76 of file PTStepper.cpp.
int _currentStep = 0 |
Definition at line 68 of file PTStepper.cpp.
int _cycleCounter = 0 |
Definition at line 70 of file PTStepper.cpp.
int _fudgeFactor = 0 |
Definition at line 19 of file PTStepper.cpp.
int _fullStepCount = 4 |
Definition at line 58 of file PTStepper.cpp.
int _fullSteps[][4] |
Definition at line 59 of file PTStepper.cpp.
int _lastType = 0 |
Definition at line 18 of file PTStepper.cpp.
int _pins[] |
Definition at line 24 of file PTStepper.cpp.
int _targetSteps |
Definition at line 17 of file PTStepper.cpp.