It looks like TMR2 is used for time.h functions by default. Is there a way to assign clock() to a different timer? Just curious.... -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist