![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
123
Dependencies: 3W_8Dir_p2pcontrol mbed
Fork of DXL_SDK_For_F446RE by
Diff: dynamixel.cpp
- Revision:
- 4:44560391db99
- Parent:
- 3:e2e9064c668d
- Child:
- 5:edccfcb47ab8
--- a/dynamixel.cpp Wed Feb 08 12:26:30 2017 +0800 +++ b/dynamixel.cpp Wed Feb 08 15:49:35 2017 +0800 @@ -334,7 +334,7 @@ //pc.printf("after dxl_txrx_packet\n",id,address,value);//stanley } -int dxl_read_word( int id, int address ) +int dxl_read_word( short int id, short int address ) { while(giBusUsing); @@ -349,7 +349,7 @@ return dxl_makeword((int)gbStatusPacket[PARAMETER], (int)gbStatusPacket[PARAMETER+1]); } -void dxl_write_word( int id, int address, int value ) +void dxl_write_word( short int id, short int address, short int value ) { while(giBusUsing);