This is for sending the variable "CNT"
' DEFINITIONS
Include "modedefs.bas"
CMCON=%00000111
DEFINE OSC 4
DEFINE DEBUG_REG PORTB
DEFINE DEBUG_BIT 2
DEFINE DEBUG_MODE 0 '1 = Inverted, 0 = true
DEFINE DEBUG_BAUD 9600

Cnt VAR Word ' Cnt is a word variable
CMCON = 7 ' RA0-RA3 are digital I/O
TRISA = 0 ' PORT A is output
TRISB = %01111111 ' RB7 is Input others output
cnt = 0
main:

COUNT PORTA.2,100,cnt ' Count for 1 second
DEBUG cnt

goto main


END ' End of program

And this is for recieving

'
' DEFINITIONS
Include "modedefs.bas"
CMCON=%00000111
DEFINE OSC 4
DEFINE DEBUGIN_REG PORTB
DEFINE DEBUGIN_BIT 1
DEFINE DEBUGIN_MODE 0 '1 = Inverted, 0 = true
DEFINE DEBUGIN_BAUD 9600

Cnt VAR Word ' Cnt is a word variable
CMCON = 7 ' RA0-RA3 are digital I/O
TRISA = 0 ' PORT A is output
TRISB = %11111101 ' RB1 is Input others output
cnt = 0

main:


debugin [cnt]


LCDOUT $FE,2
LCDOUT "cnt=", cnt
goto main



goto main


END ' End of program
and it shows just rubbish as told in the post above.
Any Hint?`