Dynamixel SDK

dxl_read_byte

Information of 1 byte can be read on Dynamixel.  The communication result can be checked by dxl_get_result.

 

int dxl_read_byte(

   int id,

   int address

);

 

Parameters

- id

Dynamixel ID to read information

- address

Address value of information

 

Return Values

- The read data value

 

Example

data = dxl_read_byte( 2, 36 );

if( dxl_get_result( ) == COMM_RXSUCCESS )

{

     // using data

}

 

Go back to the list