Skip to main content

torqueOn

Description​

This function turns on the torque of DYNAMIXEL.

Syntax​

  • torqueOn(id)

Parameters​

  • id : ID of a specific DYNAMIXEL. Data type : unsigned int8

Returns​

  • True(1) on success.
  • False(0) on failure.

Example​

const int DXL_DIR_PIN = 2;
Dynamixel2Arduino dxl(Serial1, DXL_DIR_PIN);
dxl.torqueOn(1);