This function checks the connection status of DYNAMIXEL.
const int DXL_DIR_PIN = 2; Dynamixel2Arduino dxl(Serial1, DXL_DIR_PIN); dxl.ping(1);