Quote Originally Posted by Charles Linquis View Post
Run the program below -

Set the port to output

TOPP:
Toggle LED
PAUSE 1000
GOTO TOPP

If the LED stays on for one second and off for one second, then
you are running the frequency you have set in your DEFINE

For example:

IF have DEFINE OSC 4 -

and the above program turns the LED one second ON and one second OFF
Then you are running at 4MHz

If it is on for 200milliseconds at off for 200 milliseconds. Then you are running
at 20MHz.


I kinda thought that's what I had to do...just didn't believe it was that simple!

So I did that...even though I've 'told' the chip to run the external crystal and defined osc 4...I'm not blinking @ 200ms

Either the crystal isn't oscillating properly...or I should start flippin' burgers


BTW: The reason I'm trying to run this 12F683 at 20Mhz is to obtain readings from an accelerometer (aboard an RC aircraft) and control 3 servos all in a relatively smooth way.

In addition, I've bought XBEE 900 Mhz XSC transceivers and will be passing telemetry information from the aircraft to a ground station. I have more Q's about serial communications from the 12F683 to the XBEE...but that's for another thread. I first have to figure out what I don't know.

Cheers,

JOhn.