Sending IR command that's classified as UNKNOWN


I'm trying to create a small project where I can turn on our electric heater before I come home so my room is warm. The heater has an IR remote, and when I try to read the IR commands being sent, using the standard IR Receive library that's in the sample Sketches, the commands come up as UNKNOWN (as opposed to Sony, NEC, etc).

So I have the actual HEX code being sent, 39D41DC6 - how do I go about sending this command using an IR LED?

Thank you!

The IR library has a sendRaw method. It is used in the IRTese2 example in the IRRemote library.

Thanks! How do I know what hz value to send in?

Send at the frequency that the IR detector/decoder is rated for (probably 38-40KHz).