|
Re: PIC Assembly Followup
Kit,
Looks great! Glad I could help. While I haven't been able to find your reference to the 15-20% oscillator accuracy (I'm sure it's in the manual somewhere), you'll probably find that the accuracy is much better than that. I would expect 15-20% to be the absolute maximum. Also, if you have the testing equipment necessary to measure the actual frequency, you can adjust the internal frequency using the OSCTUNE register. A more crude measurement would be set up a timer to blink an led and count the number of times it turns on/off over a set interval (for example, a 1 second blink rate over a 100 second period would give you a good idea if your oscillator is way off - or in your case, a 1 second timer with the number of blinks outputted to your LEDs!)
Let me know how it works out.
Mike
|