>Leave Gerhard alone guys. So he wants a system that >he *knows* will track the number of shifts. Big deal >if it's last for 20 years when we're all dead and >the dogs have inherited the earth. ;-) Yeah, I couldn't get over the bashing either. He came up with a way of counting huge counts without exceeding the write cycles of the EEPROM he's using. He shared it - and everyone hits him for the huge potential count it can do. The fact that it does considerably more than he is likely to need is surely neither here nor there. The technique may be useful to someone else. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist