The CD4026 is a 16-pin (DIP-16) IC that combines a decade counter and a 7-segment decoder in one package. On every pulse at the clock input it counts one step from 0 to 9 and shows the number directly on a 7-segment display, with no extra chip. The output of each segment that should light goes to 1, so it is used with a common cathode display; a common anode one does not work with it. Each segment gets its own resistor. The clock input is pin 1 and it counts as the pulse rises from 0 to 1. Counting runs while the clock inhibit pin 2 is tied to GND; when the reset pin 15 goes to 1 the count returns to 0, so it is normally held at GND. The segments light while the display enable pin 3 is tied to positive; at GND the display goes dark but counting continues. The segment outputs a to g are pins 10, 12, 13, 9, 11, 6 and 7 in that order; pin 5 is the carry output that drives a second digit. It runs from 3 to 15 V; pin 16 is the positive supply and pin 8 is GND. It is usually paired with a 555 in counters, scoreboards and stopwatches.

