I am trying to send some data wirelessly using easy radio modules. I want to transmit the value read on a potentiometer to a receiver. I am having a little trouble with the code and the timing! I am a bit of a novice at this! I am using the SEROUT and SERIN command which I assume is the correct method.

On the transmit side the command is:

SerOut PORTB.5\PORTB.7, 32, [Dec PotResult]

and on the receive side, the command is:

SerIn PORTB.6\PORTB.4, 32, [Dec PotResult]

I am receiving some data, but it is a little muddled.

Has anyone tried this before? Do I need to incorporate any delays into the commands? I would most appreciate any assisstance!

Hugh