I've some code, though it is written in basic. What do you mean by initialisation ? Do you mean the config flags (including MCLR as an input or as a reset, or internal clock versus external) or actual setting of port directions? The latter is no different to the other pics. Colin -- cdb, colin@btech-online.co.uk on 11/09/2005 Web presence: www.btech-online.co.uk Hosted by: www.1and1.co.uk/?k_id=7988359 We cannot become what we need to be by remaining what we are. (Max de Pree) -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist