Hello John & PIC.ers, >From: John Haggins >Subject: Re: Intermittent PIC operation >As a beginner, it took me a while to figure out that all UNUSED i/o lines >MUST be tied to the power supply (CMOS rule - all inputs must go >omewhere). For weeks I was getting intermittent results because I didn't >now this rule. .. Even easier. tris the unused port pins to Output. This clamps 'em solid .. Best regards, John .. .. email from John Sanderson at JS Controls, PO Box 1887, Boksburg 1460, Rep. South Africa Manufacturer & purveyor of laboratory force testing apparatus and related products and services. Tel/fax: Johannesburg 893 4154 Cellphone 082 453 4815