RedstoneChips

counter

A counter chip of any number of bits (up to 32 bits). When input 0 (increment pin) is turned on the chip increments or decrements its internal count variable and outputs a binary number representing the current value. The bit-size of the counter is set by the number of output pins. When the counter value overflows the number of output bits it goes back to 0.

There are 3 possible sign arguments (See below for the correct ordering), max, min and direction.


I/O setup

Sign text

  1. counter
  2. <max>

or

  1. counter
  2. <min> <max>

or

  1. counter
  2. <min> <max> <direction>

Version history: Added to BasicCircuits 0.1

Fork me on GitHub