PDA

View Full Version : oscillator selection



PICMAN
- 5th March 2005, 01:36
im using a resanator, 20 mhz,

which option do i use

lp
xt
hs
rc

mister_e
- 5th March 2005, 02:17
HS, if your crystal is higher than 4MHZ

PICMAN
- 5th March 2005, 06:35
do i need to

______
DEFINE osc 20
______


at the begining of my code,, i use microcode studio to compile, thenicprog to burn,

,

is there any other configuration lines i need,

mister_e
- 5th March 2005, 10:08
when using a different crystal than 4MHZ you need to place this include line, AND set your crystal fuse into your programmer (HS,XT,LP...)

not much :)