4 bit binary ripple counter code example Example: down counte the count decreases by one for each external clock pulse from some preset value.