Hi there!
You should connect the IR board's output into the Digital I/O, and in your robot code, have a section for interpreting the signal, maybe something like what is shown below if your output is connected to Digital I/O #1.
Code:
if (rc_dig_in01)
{
printf("Button one is pressed on IR\r\n");
}
Good luck
