On 6/17/08, Olin Lathrop wrote: > Tom=E1s =D3 h=C9ilidhe wrote: > > Could someone please explain to me what pin I put the RC on, what RC > > values to use, what registers to set, etc.? > > Have you even looked at the datasheet? There is a section in there that > specifically covers this. Specifically section 3.4.4 shows the schematic, and describes the factors that determine the frequency. Unfortunately they do not provide an equation, on some data sheets you can find a table or graph which gives an idea of where to start if you're looking for aparticular frequency, but I did not find one in this datasheet (in the time I am able to spend right now). You might check out the 16f84 data sheet: http://ww1.microchip.com/downloads/en/devicedoc/35007b.pdf The figures 10-7, 10-8, and 10-9 give graphs of RC oscillator frequency versus supply voltage for a given C and R at room temperature. While the internal oscillator design may be slightly different in the chip you're using, it should be a good starting point, and is likely to have similar characteristics. Good luck! -Adam -- = EARTH DAY 2008 Tuesday April 22 Save Money * Save Oil * Save Lives * Save the Planet http://www.driveslowly.org -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist