On 1/30/07, Peter van Hoof wrote: > > Put the bits in the address lines of an eeprom > Program it with the right pattern to create the count at the outputs Or an LUT in software, you can make it a lot smaller if you do it by nybbles. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist