Try standard_io mode for port A. I have never found a real need for fast_io mode. Just a guess, but commenting out that one line may well solve your problem. Dale --- We are Dyslexia of Borg. Fusistance is retile. Your ass will be laminated. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.