RS Latch
Type |
Multipart block |
---|---|
Physics |
No |
Transparency |
Yes (partial) |
Luminance |
Yes, 7 |
Blast resistance | |
Tool |
Any tool |
Renewable |
Yes |
Stackable |
Yes (64) |
Flammable |
No |
Availability |
Survival |
First appearance | |
Drops |
Itself |
Name |
rs_latch |
The RS Latch is a more advanced instanced based logic gate with 4 inputs and 2 outputs
Obtaining
Crafting
Ingredients | Crafting recipe |
---|---|
Anode + Cathode + Conductive Plate + Circuit Plate |
Usage
I/O
The RSLatch has 2 input and 4 outputs. When placed, on the ground, the left and right function both as inputs and outputs, while the front and back are just outputs. The left and right sides are the selectors while the front and back are state outputs.
Logic
The whole idea of the RS Latch is as follows. There are 2 selectors and 2 state outputs. The selectors control which of the 2 outputs are enabled. When one outputs is selected, it will remain on until the other one is selected. Selecting the same state multiple times has no effect.
The RS Latch has 2 different modes. In mode 1, the selectors also function as state outputs, meaning that if their respective state output is active, they themselves will also emit a signal. In mode 2, the selectors do not function as state outputs.
Configuration
A shift-right-click with a screwdriver can change the settings on the gate. When placed, the RS Latch is on mode 1. The first click will flip which side (front or back) each selector input is tied to. A second click will change it to mode 2. A third click will flip mode 2. After that, it will reset to unflipped mode 1.
History
Version | Changes |
---|---|
v4.0.0 | Added the RS Latch. |
Issues
Issues pertaining to "RS Latch" are maintained on the ProjectRed Github page. Report issues there.