Go to the source code of this file.
Functions | |
int | Stepper_SetActive (int index, int state) |
Sets whether the specified Stepper is active. | |
int | Stepper_GetActive (int index) |
Check whether the stepper is active or not. | |
int | Stepper_SetPosition (int index, int position) |
Set the position of the specified stepper motor. | |
int | Stepper_SetPositionRequested (int index, int positionRequested) |
Set the destination position for a stepper motor. | |
int | Stepper_SetSpeed (int index, int speed) |
Set the speed at which a stepper will move. | |
int | Stepper_GetSpeed (int index) |
Get the speed at which a stepper will move. | |
int | Stepper_GetPosition (int index) |
Read the current position of a stepper motor. | |
int | Stepper_GetPositionRequested (int index) |
Read the destination position of a stepper motor. | |
int | Stepper_Step (int index, int steps) |
Simply take a number of steps from wherever the motor is currently positioned. | |
int | Stepper_SetDuty (int index, int duty) |
Set the duty - from 0 to 1023. | |
int | Stepper_GetDuty (int index) |
Get the duty Read the value previously set for the duty. | |
int | Stepper_SetBipolar (int index, int bipolar) |
Declare whether the stepper is bipolar or not. | |
int | Stepper_GetBipolar (int index) |
Get the bipolar setting Read the value previously set for bipolar. | |
int | Stepper_SetHalfStep (int index, int halfStep) |
Declare whether the stepper is in half stepping mode or not. | |
int | Stepper_GetHalfStep (int index) |
Read whether the stepper is in half stepping mode or not. |
Methods for controlling up to 2 stepper motors with the Make Application Board.
Definition in file stepper.c.