Daniel Aylen wrote: >On initialising my ports ( on start-up of my program ) it seems that a >'1''s are sent to all my output ports. .... >Can someone please tell me what is causing this and how I can >correct this problem. Daniel: The values of the PORTx registers are undefined at power-up. To fix your problem, just do a "CLRF PORTA", "CLRF PORTB", etc., before you set up the ports' TRIS registers. -Andy -- Andrew Warren - fastfwd@ix.netcom.com Fast Forward Engineering, Vista, California