I believe PBP will allow you to change virtually any register that is applicable for the MCU you've chosen.
I believe PBP will allow you to change virtually any register that is applicable for the MCU you've chosen.
Thanks for all your help Cokehead and Mr E! I will give this a try this evening and let you know what happens.
Hmm... Same thing. I put this at the top: ADCON1 = %00001111
CMCON = %00000111 and same character over and over. Could it be possible that I need to use a line driver?
<bgsound src="http://www.darreltaylor.com/files/woohoo2.wav" loop="false">BertMan,
It may have just been a typo, but in your first post you had this line ...
define OSC = 8
It shouldn't have an equal sign in there, and PBP won't complain if it's wrong. But it may be thinking it's running at a different frequency.
<br>
Last edited by Darrel Taylor; - 7th October 2005 at 04:40.
DT
Just for grins I adjusted the baud rate in hyperterminal to see if I could get any different results, and found something very interesting. At 300 baud it works! I set the baud rate to 2400 as it is defined in pbp, and nothing.
Figured it out! The 4x clock multiplier is enabled by default. This means I was running at 32mhz instead of 8mhz. Had to set both of these to get the oscillator to perform the way I needed it to:
OSCTUNE = %00000000
OSCCON = %11110000
This would explain running at 300baud when I selected 2400.
Bookmarks