Latch is a wiring component that can be crafted using the Wiring Station. It is a logical D-Latch, with the upper input (E) controlling whether or not the state of the lower input (D) is currently being stored in the output.
If both control (E) and stored inputs (D) are ON, the output will stay ON until control input (E) is ON and the stored input (D) is OFF.
The Persistent Switch is a SR-Latch. In case tungsten is unavailable, it is possible to use D-latch as an SR-Latch by linking the ON input to both the control input (E) and the stored input (D), and the OFF input to just the control input (E).
Upper input (S) sets the latch to ON and lower input (R) sets the latch to OFF.
Since OR Gates are Trivial both can be removed and the inputs can be linked directly, at the cost of the simplistic shape and dedicated external ports.
T-Flip Flop: If you would like to make a button toggle something on and off, you can use this configuration. When a pulsing input is given to the Latch and Persistent Switch, it will toggle the persistent switch on and off like a lever, but you are using a button to do so.
|Floran :||A Latch. Can be used to sstore a wire sstate.|
|Glitch :||Fascinated. A Latch. Can be used to store a wire state.|