
Originally Posted by
HankMcSpank
Having got the define correct. (define osc 4 ....4Mhz)
The OSCCON still needs setting? (bear with me here - I seldom change this stuff.....if OSCCON still needs setting what's the purpose of the DEFINE command?)
I tried getting the interal oscillator presented on the associated IO pins (to see if I could scop them - failed! IS there something unique about the clock that makes it invisible? lol)
I tried a whole heap of permutations - the Hserout settings I posted were derived from Mr E's calculator.
No, you were correct, it defaults to 4 mhz, and should not need to be set, unless you want to try 8 mhz. Which, maybe you should, just for fun. But try what Henrik suggested with verifying your osc speed by toggling an led, and see what you get, just to be sure.
Last edited by ScaleRobotics; - 10th October 2010 at 17:43.
http://www.scalerobotics.com
Bookmarks