|
StepperII
Dual Axis Stepper Controller
|
#include <CProfile.h>
Public Member Functions | |
| void | init (void) |
Public Attributes | |
| char | direction |
| unsigned int | stepPeriod |
| Period of next timer delay. | |
| volatile char | runState |
| State of the step machine. | |
| int | position |
| Position in signed integer steps. | |
| char | brakeTimer |
| Turns off brake after long delay. | |
| char | continuousFlag |
| Set flag for continuous run. | |
| char | autoHomeRunning |
| TRUE if doing autoHome. | |
Static Public Attributes | |
| static const char | stop = 0 |
| Step machine stopped. | |
| static const char | accel = 1 |
| Step machine accelerating. | |
| static const char | decel = 2 |
| Step machine decelerating. | |
| static const char | run = 3 |
| Step machine running (const speed) | |
| static const char | stopping = 4 |
| runState stopping | |
This is axis runtime profile. It is temporary data used when moving a stepper motor
1.7.3