Tim, Disregard my previous email. I was thinking of RA4 which is open drain. RA2 ids the VREF- pin when using AD converters. This pin might power up in analog mode. Have you changed porta to digital I/O? This may be the problem. > Looking in the 16F877 Data Sheet, I don't see any internal pull-up > resistors on any ports except port B has a weak pull-up. > > Does this mean that I have to add external pull-up resistors to get +5V > on Port A pins? > > When I connect my scope to PortA,2 which should show a pulse signal, I > see the signal resting at Gnd. > When I add a 2.2k Ohm resistor from PortA,2 to Vcc, I see my +5V to Gnd > swing. > > This is disturbing... > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.