Quote Originally Posted by HenrikOlsson View Post
Hi,
You don't say if you're using a MAX232-type-of-circuit but have you tried:
Code:
Serout2 portc.6,84,["Hello World",10,13]
Make sure you use a X-tal or resonator for the osciallator as the internal oscillator may not be acurate enough.

/Henrik Olsson.
Thanks for the response:

I'm not using a MAX232 device. Tried your the code, with the different logic->spits out different garbage. I am using a 4 Mhz x-tal external that has worked for me with this chip for several other non-serial comm applications. Though I've read that I can't use a 9600 baud rate with this x-tal, I've also tried the same code with different mode #s for 4800 (see below), and run it at 4800 baud in hyper term. It gives me the EXACT same garbage!

switchVar var byte
input portb.0


Main:
SwitchVar = portb.0
if switchvar=1 then
Serout2 portc.6,188,["Hello World A",10,13]
pause 500
Serout2 portc.6,16572,["Hello World B",10,13]
endif
goto main

still hopeful,
eric