[Motion86]
説明
Whether the machine is set to move in the reverse direction in the specified axis.
構文
machine.isDirectionReversed(axis);
媒介変数
machine
: is the Machine object.axis
: is the axis of motion to get information, can be AXIS_X, AXIS_Y or AXIS_Z.
戻り値
bool.
- true: The axis is reverse motion.
- false: The axis is not reversed. Or the setting is wrong, which means the machine does not exist or the setting is done after the machine is started.
Please make sure the machine exists and make sure the machine is set up before starting the machine.
See also
Libraries Reference Home
86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。