v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

User:Hussell/ClockToggle

From Dwarf Fortress Wiki
< User:Hussell
Revision as of 14:15, 9 November 2009 by Hussell (talk | contribs)
Jump to navigation Jump to search

Clock Toggle

I don't know the proper name for this. Oh well.

>
^
^
^
^
^

is a water source (preferably infinite)

are doors controlled by the Clock input.

^ is a 0-6 pressure plate controlling door .

> are downward stairways acting as unpressurized drains.

^, ^, ^, and ^ are 7-7 pressure plates controlling the doors of the same colors.

3 is 3/7 water.


This is what you get when you connect the output of a Data Flip-Flop back into its Data input. When the Clock input is connected to a Repeater, the output (^ and its inverse ^) toggle when and only when the clock sends an OPEN signal. If you connect several of these in sequence, you can create a counter that counts up or down. In short, a dwarven clock.

Note that if you build a repeater with two pressure plates, one triggering on high water and the other on low water, you can connect it directly to the and doors and get rid of that little inverter at the top. If you do this, you won't need any drainage anywhere in the system.


Clock CLOSED, Output CLOSED:

>
^
7 3 ^
7 7 ^
2 3 ^
^


Clock OPEN, Output OPEN:

>
7 ^
2 3 ^
^
7 7 ^
7 3 ^


Clock CLOSED, Output OPEN:

>
^
7 7 ^
7 3 ^
^
2 3 ^


Clock OPEN, Output OPEN:

>
7 ^
^
2 3 ^
7 3 ^
7 7 ^