RobotSimulation/pick_and_place/ROS/src/niryo_one_ros/mcp_can_rpi/src/mcp_can_rpi.cpp
void MCP_CAN::mcp2515_setRegister(const INT8U address, const INT8U value)
{
    unsigned char buf[3] = { MCP_WRITE, address, value };
    spiTransfer(3, buf);
}
/*********************************************************************************************************
** Function name:           mcp2515_setRegister
** Descriptions:            Sets data register
*********************************************************************************************************/
Function name:           mcp2515_setRegister
Descriptions:            Sets data register
Function name : mcp2515_setRegister Descriptions : Sets data register
void MCP_CAN::mcp2515_setRegister(const INT8U address, const INT8U value)
{
    unsigned char buf[3] = { MCP_WRITE, address, value };
    spiTransfer(3, buf);
}
void MCP_CAN :: mcp2515_setRegister ( const INT8U address , const INT8U value ) { unsigned char buf [ 3 ] = { MCP_WRITE , address , value } ; spiTransfer ( 3 , buf ) ; }
Function name:           mcp2515_setRegister
Descriptions:            Sets data register
Function name : mcp2515_setRegister Descriptions : Sets data register