Charles Rogers wrote: > Would you have a template for writing code in general This is lots of template and example code that comes with my PIC development environment at http://www.embedinc.com/pic. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist