To all that replied and told me about the need for using a resistor and capacitor with the 16F877 in RC mode, since the 16F877 does not have an internal oscillator (I thought it did..), thanks... It now works correctly! I appearently did not see that when I was skimming through the datasheet (which I obviously should have) :( Nathan On Sat, 18 Jan 2003, Olin Lathrop wrote: > > I was under the impression when I specify RC Oscillator, that uses the > > internal oscillator of the PIC, so I do not need to use an external > > oscillator. > > Ah, there's the problem. The 16F877 doesn't have an internal oscillator. > See Section 12.2 "Oscillator Configurations" on page 121 of DS3029C > "PIC16F87x Data Sheet". RC oscillator mode means just that: you have to > hook up an R and C. Especially for breadboarding, I just set the > oscillator to HS mode and use a 20MHz crystal and two 22pF caps. > > > ***************************************************************** > Embed Inc, embedded system specialists in Littleton Massachusetts > (978) 742-9014, http://www.embedinc.com > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.