> longer division. For example calculate for a 10s period (by dividing into > 6,000,000, ie 24-bit rather than 32-bit) and multiply the result by 6 Sorry, forgot my million times table there for a sec. 10s is 10,000,000us -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist