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.
|Floran :||A Latch. Can be used to sstore a wire sstate.|
|Glitch :||Fascinated. A Latch. Can be used to store a wire state.|