How to send PULSE_WIDTH IR data?

Thank you, turns out it actually works. The IR transmitters I bought just were extremely weak which caused me to think it doesn't work.