[Motion86]
Description
Set the control mode of the Servo Module.
Syntax
machine.config_PulseMode(axis, mode);
Parameter
machine
: Machine object.axis
: To set the axis of the control mode, you can set AXIS_X, AXIS_Y, or AXIS_Z.mode
: The control mode set for the machine in the specified axis. There are several types:PULSE/DIR
CW/CCW
PULSE A/B
Returns
- true: Setting successful.
- false: A setting error means that the machine does not exist or was set up after the machine was started.
Please make sure that the machine exists and make sure that the machine is set up before starting the machine.
See also
Libraries Reference Home
The text of the 86Duino reference is a modification of the Arduino reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.