i'm currently working on a wireless sensor network using PIC16F886, XBEE and also LCD. my problem are, i need to display the data that have been received from the sensor node in LCD.can any out give me any suggestion? here i provide u with the tx and also rx code.
TX code:
Code: Select all
@ device hs_osc
define osc 20
main:
high portb.0
serout2 portb.2,84,["A"]
pause 200
low portb.0
pause 200
goto main
Code: Select all
@ device hs_osc
define osc 20
dta var word
main:
high portb.0
pause 50
serin2 portc.7,84,[wait("A"),dta]
pause 50
serout2 portc.6,16468,[dta]
low portb.0
pause 50
goto main