123
Diff: dxl_hal.h
- Revision:
- 0:e3a3ccc3b0f8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dxl_hal.h Tue Sep 12 13:25:29 2017 +0000 @@ -0,0 +1,25 @@ +// Dynamixel SDK platform dependent header +#ifndef _DYNAMIXEL_HAL_HEADER +#define _DYNAMIXEL_HAL_HEADER + + +#ifdef __cplusplus +extern "C" { +#endif + + +int dxl_hal_open( int devIndex, float baudrate ); +void dxl_hal_close(void); +void dxl_hal_clear(void); +int dxl_hal_tx( unsigned char *pPacket, int numPacket ); +int dxl_hal_rx( unsigned char *pPacket, int numPacket ); +void dxl_hal_set_timeout( int NumRcvByte ); +int dxl_hal_timeout(void); + + + +#ifdef __cplusplus +} +#endif + +#endif