Scrap Mechanic

Scrap Mechanic

Otillräckligt med betyg
D Latch
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
8.569 KB
6 sep, 2021 @ 8:48
1 ändringsnotis ( visa )

Abonnera för att ladda ner
D Latch

I 1 samling av Tiny Desk Engineer
Tiny Desk Engineer's Logic Circuit Collection
3 artiklar
Beskrivning
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2595159755