The NEC protocol uses pulse distance encoding of the bits. Each pulse is a 560µs long 38 kHz carrier burst (about 21 cycles). A logical "1" takes 2.25 ms to transmit, while a logical "0" is only half of that, being 1.125 ms. The recommended carrier duty-cycle is 1/4 or 1/3.