Counter (Project Red)

The Counter is a redstone circuit added by Project Red. It is a logic gate for complex redstone circuits. It allows you to change a transmitting redstone signal between two outputs by positive and negative counting of reaching redstone pulses (see Usage).
== Recipe ==
== Usage ==
For an easier usage, NEI and WAILA could be installed, which show the input and output on the Counter.
The Counter has one "pos" (positive) and one "neg" (negative) input side as well as two output sides (represented by the torches) for red alloy cables, redstone, an adjacent circuit, machine, lamp or anything that can be controlled with redstone signals.
The minus on the gate indicates the "neg" input and the negative output sides, while the plus indicates the "pos" input and positive output sides.
After the first placement of the Counter, it transmits a redstone signal only on the negative" output side. 
If redstone pulses reaches the Counter on the "pos" and "neg" sides, then the pointer on the gate moves to the equivalent side. If the pointer reaches one of the torches on the output sides, then a redstone signal is transmitted till the pointer moves through a redstone pulse away.
In the basic settings the Counter has a step number of 10 and a step length of 1 for "pos" and "neg". This means, that between the two outputs are 10 steps that can take the pointer and a restone pulse on the "pos" or "neg" moves the pointer 1 step far.
With a right-click on the Counter you can change the settings in a GUI in 1, 5 and 10 steps. Maximum means the number of steps between the two output sides. Increment means the step length by a reaching redstone pulse on the "pos" input. "Decrement" means, however, the step length by a reaching redstone pulse on the "neg" input. "State" on the bottom of the GUI shows the current position (step number) of the pointer.
Using the screwdriver from Project Red, the orientation of the gate can be changed freely in all four directions. By shift-right-clicking with the screwdriver you change the "pos" and "neg" sides.
== Config options ==
If the sounds of the gate disturbing, they can be disabled in the "ProjectRed.cfg" configuration file (in the "config" folder) at the following line:
"General Settings" {
 # If set to false, logic gates will not make sounds.
 B:"Logic Sounds"=true
}
Category:Project RedCategory:Redstone wiring