Set the control mode of the Servo Module.


machine.config_PulseMode(axis, mode);


  • 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:
    • CW/CCW
    • PULSE A/B


  • 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.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top