tq for the sugesstion. one more question, how can i display '83' in LCD? is this code below relevant?
Code:
@ device hs_osc
define osc 20
define LCD_EBIT 1
DEFINE LCD_RSBIT 0
DEFINE LCD_DBIT 4
DEFINE LCD_DREG PORTC
DEFINE LCD_RSREG PORTC
DEFINE LCD_EREG PORTC
dta var word
main:
high portb.0
pause 50
serin2 portc.7,84,[wait("A"),dta]
pause 50
serout2 portc.6,16468,[dta]
LCDOUT $FE,1
lcdout #dta
low portb.0
pause 50
goto main