Quote Originally Posted by mister_e
you don't need those
DEFINE CHAR_PACING 1000
DEFINE OSC 4
OPTION_REG.7 = 0 ' gpio 0 - 2 digital
WPU = 255 ' week pull ups on all pins


AND you must set the OSCCAL to get accuracy with SEROUT. I hope your OSCCAL is not erase as now...

at the end your code will look like this.


Code:
@ __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON
    ' Internal Oscillator
    ' Enable watch dog timer
    ' Enable power up timer
    ' Disable MCLR pin
    ' Enable brown out detect
DEFINE OSCCAL_1K 1
INCLUDE "modedefs.bas"
TRISIO.0 = 0 ' set GPIO.0 as output
CMCON = 7 ' turn off analog comparator

Pause 200 ' Allow pic to Stabilize 

loop:

SerOut GPIO.0,N2400,["Hello World"]
Pause 1000
SerOut GPIO.0,N2400,["abc",13,10]
Pause 4000
GoTo loop
and this one is working @2400 baud

The most important thing here is to set the OSCCAL at the begining.

hope this help you

Im trying to connect a 12F675 to my machine to test it out but I get nothing in hyperterm.
Have
+5 to pin 1
1K resistor on pin 7 connected to pin 2 on DB9
Ground on pin 8
and a 0.1uF from pin 1 to 8.
pin 5 on DB9 to ground.

Do I connect first on hyper term or power the chip up first? what setting should I have?

Thanks

Using the above code and as 12F675 I can't get it to send anything.