Инсталирайте Steam
вход
|
език
Опростен китайски (简体中文)
Традиционен китайски (繁體中文)
Японски (日本語)
Корейски (한국어)
Тайландски (ไทย)
Чешки (Čeština)
Датски (Dansk)
Немски (Deutsch)
Английски (English)
Испански — Испания (Español — España)
Испански — Латинска Америка (Español — Latinoamérica)
Гръцки (Ελληνικά)
Френски (Français)
Италиански (Italiano)
Индонезийски (Bahasa Indonesia)
Унгарски (Magyar)
Холандски (Nederlands)
Норвежки (Norsk)
Полски (Polski)
Португалски (Português)
Бразилски португалски (Português — Brasil)
Румънски (Română)
Руски (Русский)
Финландски (Suomi)
Шведски (Svenska)
Турски (Türkçe)
Виетнамски (Tiếng Việt)
Украински (Українська)
Докладване на проблем с превода
(Now I want to play a Barbarian engineers' game.)
I've been spending quite some time trying to figure out how to make a system with a pair of linked toggles such as if you press one button, the other gets turned off if it was on.
In the process I invented several types of very fast ticking clocks, but in the end I think I achieved my goal. Would you be so kind as to take a look at it and tell me if my logic is sound, or if I overlooked a better solution?
https://steamcommunity.com/sharedfiles/filedetails/?id=2061730359
JK Flip flop. It's literally why it exists.
As for the logic, i'll look at it after i'm done with my daily Animal Crossing :)
https://steamcommunity.com/sharedfiles/filedetails/?id=2061876053
Nothing wrong with the logic itself, but i made it slightly simpler.
In such a setup you can also use a push button directly linking to external input of the toggle button, it'll cancel it out.
I'm trying to wrap my head around this, but I already get the point that what I wanted and implemented using two SR Latches is what a JK Flip Flop does, provided one connects the inputs and outputs properly.
However, it appears that in my system the default state is that both outputs are off, and in the Flip Flop one output B is on (I presume it is because at the moment of spawn, both A and B are off thus the Flip Flop output is on).
If having both outputs off by default is a requirement, the Flip Flop would not be as desirable, is it correct?
By the way, I had been wondering what was the difference between SR Latch and JK Flip Flop and this example of yours shed some light on it, but I also discovered that their description in the creation editor parts inventory has significant details that are missing in their description in the microcontroller editor parts inventory, namely the fact that if both inputs (set and reset) of a flipflop are on, the state is toggled, but if both inputs of a latch are on, both outputs will be off (which is quite unintuitive when I think about it since the second output otherwise functions as a NOT output).
Anyhow, I'm back to the dissection table.
It spawns with the NOT input being on, because the NOT input is the reverse state of the flip-flop, but a very simple microcontroller modification deals with the issue :)
JK Flip Flop is useful for exclusive, binary input, like if you only have stuff like "high range gear" and "reverse" buttons, you can have the high-range gear be on by default, which gets disabled by hitting reverse. Also useful when you use toggle buttons for winch up & down, though you need to give it a little kick in that state :)
Subtlety makes Rashtek confused and angry, but Rashtek will brute force his way through those hints eventually! Rashtek will start by trying with brutish pushes and big kicks first though.
Actually nevermind, the JK Flipflop is designed to not have a 0 0 or 1 1 state. Ever.
I may have been thinking of another flipflop.
Rashtek's sides are hurting from laughing at your wizardly quirks.
Rashtek usually doesn't like wizards but Ra-Ra-Rasputin is fine.