At 07:31 PM 1/9/2004 -0600, you wrote: >Oops - this was meant to be in reply to Spehro. You can set the port pin low or high with movlw/movwf, which doesn't read the pin state, then write to the TRIS register. The main condition I think you want to avoid is actively driving it low, after it's been high, because that discharges the output capacitor through a sneak path in the LT1790 (diode and forward-biased collector-base junction). Just a guess as to what's happening. Bset regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.