IrDA Receiving: measuring time between rising edges works