Quote Originally Posted by KeithH View Post
I'm pretty new to this, though I do remember reading somewhere that if you run the Chip at 4Mhz, 9600 baud is just that but if you run the pic at a higher rate, the 9600 baud setting is also multiplied. so you could get the equivelant of 24000baud if you run the chip at 10Mhz?
Sorry if I am wrong.
You are correct. If you DEFINE OSC 4 for 4Mhz, but actually use 40Mhz, and your serial commands are setup for 9600 baud, you'll actually get 96,000 baud. But running 9600 baud @ 4Mhz, the bit timing is fairly tight and if you're running any kind of interrupts, that'll mess it up.
Better to use DEBUG serial commands @ 4Mhz since they take up less code space.