getPulseMode()
Description
Get the Servo Module control mode of the machine on the specified axis.
Syntax
machine.getPulseMode(axis);
Parameters
machine
: Machine
object.
axis
: The motion axis for which the Servo Module control mode is to be obtained, which can be AXIS_X, AXIS_Y or AXIS_Z.
Return
pulseMode_t
: The control mode set for the machine on the specified axis. There are the following types:
PULSE/DIR
CW/CCW
PULSE A/B
See also
Library Reference
The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.