Using a two transistor NAND gate as a IR LED modulator (PWM + I/O)

Thanks, it seems like a cheap & cheerful solution. I'll give it a shot.