RC5 infrared remote

I'm not sure if this is the same sketch or not but here is a link to some code that might work. I have not toyed with it yet.