fixed transmit pulse interrupt timing, added re-zero after pulses