areeckal
Member level 2
I need to set up Rf communication from a pic 18F to another pic 18F.
The data i need to send is a synchronization byte, address byte, data and checksum. My doubt is how should i frame a packet. Should i load the above format using 8 bits and load TXREG one time or should i send each as a byte loading TXREG one after another? Pls help. Also how the data should be written in TXREG? As hex or char or binary?
The data i need to send is a synchronization byte, address byte, data and checksum. My doubt is how should i frame a packet. Should i load the above format using 8 bits and load TXREG one time or should i send each as a byte loading TXREG one after another? Pls help. Also how the data should be written in TXREG? As hex or char or binary?