Shawn Wilton wrote: > G, you still don't mention the size of your EEPROM. 1024 bytes > I want to calculate the efficiency of your algorithm versus mine for the > fun of it. What's your algorithm? > I figure with a 1024B EEPROM, I could get 51.2M events. If I use the entire 1024 bytes for one counter, I get: - 2 bytes for the index - 1022 revolving 3-byte counters that count to 100k That gives 1022*100k events = 102.2M events Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist