Scrap Mechanic

Scrap Mechanic

Zbyt mało ocen
D Latch
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
8.569 KB
6 września 2021 o 8:48
1 lista zmian ( zobacz )

Zasubskrybuj, aby pobrać
D Latch

W 1 kolekcji stworzonej przez Tiny Desk Engineer
Tiny Desk Engineer's Logic Circuit Collection
Przedmioty: 3
Opis
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