Latch & Flip-Flop : Keep up with the Bit !
These are the most important circuits : there are memory circuits. They store one bit of data (it's ON or OFF, it's 1 or 0, it's Open or Closed, and so on).
There are as well very useful switches for daily activities :)
They work perfectly in No Man's Sky
Latch
A latch is a basic memory device that can store a single bit of information (either 0 or 1)
Really, it's just a switch :
+ push it once it SET and keep the light ON (1 bit stored),
+ push the RESET button it clear the circuit, and turn the light OFF (no bit stored, aka 0)
Flip-Flop
A flip-flop is a fundamental memory component, capable of storing a single bit of data.
Unlike latches, flip-flops are edge-triggered, meaning they change state with the same button (yes, it's very very simplified. It's No Man's Sky, not real life. Sorry about that.)
This time :
+ push once, it turn on the light and keep the bit (ON, 1)
+ push again, it turn off the light and store no bit at all (OFF, 0)
+ and again and again, and again to infinity and beyond
Examples
- open or close a garage door with multiple buttons (flip flop)
- Jump on the 3 sensors and open the gate (latch)
- Push 1, 2, and 3 buttons in order to open the door (flip flop)
Try the circuits at the Campus, in Euclid :