The IR format which this program decodes is Pulse Distance Coding. A bit start with a falling edge, end with a falling edge Start bit: ~15ms 1-bit: ~2.3ms 0-bit: ~1.1ms A frame of data consist of 1 start bit and 32 data bit.