RobotSimulation/pick_and_place/ROS/src/niryo_one_ros/mcp_can_rpi/src/mcp_can_rpi.cpp
bool MCP_CAN::canReadData()
{
#ifdef __arm__
    return !digitalRead(gpio_can_interrupt);
#else
    return false;
#endif
}
/*********************************************************************************************************
** Function name:           canReadData
** Descriptions:            Checks GPIO interrupt pin to see if data is available (using wiringPi)
*********************************************************************************************************/
Function name:           canReadData
Descriptions:            Checks GPIO interrupt pin to see if data is available (using wiringPi)
Function name : canReadData Descriptions : Checks GPIO interrupt pin to see if data is available ( using wiringPi )
bool MCP_CAN::canReadData()
{
#ifdef __arm__
    return !digitalRead(gpio_can_interrupt);
#else
    return false;
#endif
}
bool MCP_CAN :: canReadData ( ) { #ifdef __arm__ return ! digitalRead ( gpio_can_interrupt ) ; #else return false ; #endif }
Function name:           canReadData
Descriptions:            Checks GPIO interrupt pin to see if data is available (using wiringPi)
Function name : canReadData Descriptions : Checks GPIO interrupt pin to see if data is available ( using wiringPi )