I need help using an infrared receiver

I have a Makeblock me infrared receiver decode v2.1 it has four pins: dat,sta,vcc,gnd.
I have been looking all day for a program to use, I can't find one that works and most of the time the program won't compile to my board. Any help would be greatly appreciated.

I can't find one that works

So, write one.

I have a Makeblock me infrared receiver decode v2.1 it has four pins: dat,sta,vcc,gnd.

A link to the device would be useful.

A schematic showing how you have connected it would be useful.

most of the time the program won't compile to my board.

So, fix the problems. If you need help, post the code, in code tags, and the error messages.

(deleted)