|
|
@ -46,6 +46,7 @@ void ScriptCmderStepMotor45::regcmd() { |
|
|
|
REG_CMD___NO_ACK(PREFIX, zero_calibration, "(id)", 1); |
|
|
|
REG_CMD_WITH_ACK(PREFIX, get_pos, "(id)", 1, int32_t, ack); |
|
|
|
REG_CMD___NO_ACK(PREFIX, set_pos, "(id,pos)", 2, con->getInt(2)); |
|
|
|
REG_CMD_WITH_ACK(PREFIX, get_zero_pin_state, "(id,pos)", 1, int32_t, ack); |
|
|
|
|
|
|
|
// REG_CMD___NO_ACK(PREFIX, initialize, "(id,driverPin1,driverPin2,driverPin3,driverPin4,zeroPin)", 6, con->getInt(2), con->getInt(3), con->getInt(4), con->getInt(5), con->getInt(6), con->getInt(7));
|
|
|
|
} |