Mr.Tidy-robot with RC5

Hallo,

The Mr.Tidy robot (with Atmega 1280) comes with a TSOP34836 to control the robot.
How can i communicate with RC5 code to the robot?
Are there code examples?
Thanks,
Jack.