This function changes protocol version of DYNAMIXEL.
const int DXL_DIR_PIN = 2; Dynamixel2Arduino dxl(Serial1, DXL_DIR_PIN); dxl.setProtocol(1, 1.0);