Pulse relay

A short one-shot at the input is used to set and reset the output.

Output Q status is toggled at every Lo to Hi transition of the status at input Trg, that is, the output is switched on or off. Use input R to reset the pulse relay to initial state, that is, the output is set to Lo.