My reset line MCLR is disabled in the Configuration bits. But I still have it pulled down to ground through a 10k resistor(not sure about the value, will have to look it up) On 8/16/06, Russell McMahon wrote: > >I am using a PIC18F1320 with the MPLAB compiler. I wrote the code, > >and > > while testing it I get a set of outputs with the oscilloscope, but > > when i disconnect the oscilloscope, the outputs are different. > > For example, I read in a byte over the serial port and compare it > > with > > a variable. If it matches then I light an LED. With the oscilloscope > > connected the LED never lights, without it it does. > > You may have an input driven by a high impedance. Oscilloscope loading > may affect this. It is most unlikely that oscilloscope loading will > affect a properly configured output. > > Oscilloscope load is typically of the order of 1 Mohm and 10 pF. It > can affect oscillator operation under marginal conditions but usually > only if connected to the oscillator circuit in some way. > > Is your reset line properly managed? > > > > Russell > > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist