PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Feb 22, 2010 1:22 pm |
|
|
The setup_oscillator() function is used for the internal oscillator,
not external. The internal oscillator supports 4 MHz and 8 MHz, and
other frequencies but not 6 MHz. If you want 6 MHz, then use an
external crystal (with 22pf capacitors) and use HS in the #fuses.
Don't use setup_oscillator() for an external crystal. |
|