hi.. i'm doing a project which use mcp9700 to measure temperature interfacing with pic18f46k20, then display on LCD and hyper terminal..here's my code PICBasic below:


INCLUDE "modedefs.bas"
define osc 4
define LCD_DREG PORTD
define LCD_DBIT 4
define LCD_RSREG PORTD
DEFINE LCD_RSBIT 2
define LCD_EREG PORTD
define LCD_EBIT 3
DEFINE LCD_BITS 4
DEFINE LCD_LINES 2
'HIGH PORTD.1
C VAR WORD



DEFINE HSER_BAUD 9600 'Hser baud rate
DEFINE HSER_CLROERR 1 'Hser clear overflow automatically
DEFINE HSER_SPBRG 25 'Hser spbrg init
DEFINE HSER_RCSTA 90h 'Hser receive status init
DEFINE HSER_TXSTA 20h 'Hser transmit status init
DEFINE HSER_EVEN 1 'Use only if even parity desired
DEFINE HSER_ODD 1 'Use only if odd parity desired
DEFINE HSER_BITS 9 'Use 9th bit for parity



define ADC_BITS 10
define ADC_CLOCK 3
define ADC_SAMPLEUS 50

lmtemp var word
temp var word
quanta con 1250
TRISE = %111
ADCON1 = 0


MAIN:
ADCIN 6, lmtemp
temp = ((lmtemp/100)/2)+8-50

LCDOUT $FE,1
LCDOUT " Programmed by"
LCDOUT $FE,$C0
lcdout "YAN^S TEMP="
LCDOUT #temp
LCDOUT " C"
'HIGH PORTD.1


HSEROUT [dec temp,10]
'HSerout ["The Temp Are Now ",#temp,"C",13]


pause 100
GOTO MAIN
end

is it correct my code??
LCD is working fine but i have a problem to display at hyper terminal

i hope somebody can help me...