Machine.getPulseMode()

[Motion86]

描述

Obtain the Servo Module control mode for the machine in the specified axis.

語法

machine.getPulseMode(axis);

參數

  • machine: is the Machine object.
  • axis: is the motion axis that you want to get the Servo Module control mode, AXIS_X, AXIS_Y or AXIS_Z.

回傳

pulseMode_t: The control mode set for the machine in the specified axis. There are several types:

  1. PULSE/DIR
  2. CW/CCW
  3. PULSE A/B

參考


函式庫參考主頁面

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

發表評論

上部へスクロール