Counter

Counts up by Increment for each pulse on one input, and down by Decrement for each pulse on the other. Clicking opens a GUI to allow the maximum count, increment, and decrement to be set. Each output is on when the pointer reaches the end of range in that direction.