Robotis Dynamixel Pro Quick Start Manual page 55

Table of Contents

Advertisement

Quick Start for Dynamixel Pro v1.00b
{
printf(
printf(
_getch();
return
}
else
{
if(ErrorStatus != 0 )
else
}
printf("Press any key to change the color of LED in Dynamixel
_getch();
Result = dxl_write_byte(Port, ID, P_LED_GREEN, 0, &ErrorStatus);
Result = dxl_write_byte(Port, ID, P_LED_BLUE, 255, &ErrorStatus);
if( Result != COMM_RXSUCCESS )
{
printf(
printf(
_getch();
return
}
else
{
if(ErrorStatus != 0 )
else
}
//Close the port of USB2DXL
printf(
"Press any key to terminate...\n"
_getch();
dxl_terminate(Port);
return
0;
}
-
Try controlling the intensity of the LED light.
"Failed to write!\n"
);
"Press any key to terminate...\n"
0;
PrintErrorCode(ErrorStatus);
printf("Succeed to change the color of LED in Dynamixel
"Failed to write!\n"
);
"Press any key to terminate...\n"
0;
PrintErrorCode(ErrorStatus);
printf("Succeed to change the color of LED in Dynamixel
);
);
);
PRO!\n");
PRO\n");
PRO!\n");
Page 55 / 139

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Dynamixel Pro and is the answer not in the manual?

Questions and answers

Table of Contents