On Tue, 18 Jun 2002 18:31:03 -0400, Sivaram M Cheekiralla wrote: >Hi, > Can anyone tell me how to use the internal oscillator in the >PIC(16F84A). I am new to the PIC programming, so please don't mind if my >question is too trivial. Some PICs have an internal oscilator but the 16F84 and 16F84A don't.=20 Are you perhaps thinking of the RC oscillator option? If so, you need to do two things to use it. 1. Your configuration word needs to contain the term "RC_OSC" and none of the other oscillator terms (no LP_OSC, XT_OSC or HS_OSC). 2. The hardware consists of a resistor to Vdd and a capacitor to ground. The junction of the resistor and the capacitor is connected to pin OSC1.=20 The values of the resistor and the capacitor determine the frequency. Microchip recommends a resistor in the range of 5k to 100k and a cap greater than 20pF.=20 When using the RC oscillator, operating frequency/4 is output on pin OSC2. Regards, Bob -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.