Scrap Mechanic

Scrap Mechanic

Ei tarpeeksi arvosteluja
D Latch
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
8.569 KB
6.9.2021 klo 8.48
1 muutos ( näytä )
1 kokoelmassa, tekijä Tiny Desk Engineer
Tiny Desk Engineer's Logic Circuit Collection
3 luomusta
Kuvaus
A simple D Latch

A D Latch is a logic circuit which is very similar to an SR Latch, with the main difference in how it handles input.

While an SR Latch's inputs both set the state separately, a D Latch's inputs consist of a Data signal, and a Store signal.

When the Store signal is 1, the output is the same as the Data signal. When the the Store signal is 0, the output remembers what the Data signal was when the Store signal was turned off.


Bugs:

When the creation is placed on the lift, or sometimes when switching states, the output will start rapidly cycling between 1 and 0 like a repeating clock. For now this can be fixed by using a regular switch for the Store signal instead of a button.

Any help with this problem would be much appreciated.

You can find the SR Latch workshop page here: https://steamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2595159755