pratheeshprm143
Newbie level 6
hai
I have interfaced zigbee with 89s51. I send data to the pc by using a seperate 89s51(from 00-ff).
I can send data via x-bee on pc (using X-CTU software)
But the data can't receive back.
I think the problem is in the receiver program. plz check my program
ORG 00H
SJMP MAIN
ORG 030H
MAIN: MOV P1,#22H
MOV TMOD,#20H
MOV TH1,#-3
MOV SCON,#50H
SETB TR1
AGAIN: CLR RI
RPT: JNB RI,RPT
MOV A,SBUF
MOV P1,A
SJMP AGAIN
END
thanks
I have interfaced zigbee with 89s51. I send data to the pc by using a seperate 89s51(from 00-ff).
I can send data via x-bee on pc (using X-CTU software)
But the data can't receive back.
I think the problem is in the receiver program. plz check my program
ORG 00H
SJMP MAIN
ORG 030H
MAIN: MOV P1,#22H
MOV TMOD,#20H
MOV TH1,#-3
MOV SCON,#50H
SETB TR1
AGAIN: CLR RI
RPT: JNB RI,RPT
MOV A,SBUF
MOV P1,A
SJMP AGAIN
END
thanks