Machine.config_PulseMode()

[Motion86]

描述

Set the control mode of the Servo Module.

語法

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

回傳

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

參考


函式庫參考主頁面

86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。

發表評論

上部へスクロール