My interrupt template for the PIC 16 .............................. Olin: Would you have a template for writing code in general , maby something sinilar to what is provided by MPLAB ? ? cr -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist