At 48Mhz ... You have to use the 16-bit baud rate generator to get 2400 baud. It's too slow for the normal BRG.

Try it like this

DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
DEFINE HSER_TXSTA 20h ' Enable transmit, BRGH = 0
DEFINE HSER_CLROERR 1 ' Clear overflow automatically
DEFINE HSER_SPBRG 225 ' 2400 Baud @ 48MHz, 0.0%
SPBRGH = 4
BAUDCON.3 = 1 ' Enable 16 bit baudrate generator

Or for other baud rates, use mister-e's calculator (EUSART calc)...

PicMultiCalc V_1.3.1
http://www.picbasic.co.uk/forum/atta...achmentid=2957