two arduino with xbee s2

hello

one Arduino + joystick + xbee s2
one Arduino + motor shield and xbee s2

use char c

early response is fast (0,5 second) but after a while it is slow (5 second);

the receiver continues to monitor print ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ

xbeecharrx.ino (997 Bytes)

joystick_easy_mod_char.ino (1.05 KB)

You need to do a bit of research on the XBees. There needs to be some pause between bursts of data, to give the XBee time to transmit the data, and check for acknowledgement that the packet was received. If there is no acknowledgment, the packet is sent again. When you don't allow time for that to happen, data gets lost.

How ARE the XBees configured?

Since you only care about the 'C', 'B', or 'G', why do you also send a carriage return and line feed? Sending three characters when only one matters feels pointless.

preferisco mandare a capo perchè aggiungo altri caratteri successivamente.....

sai dirmi qualcosa riguardo la ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ

varcertified:
preferisco mandare a capo perchè aggiungo altri caratteri successivamente…

sai dirmi qualcosa riguardo la ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ

Say what?

I prefer to wrap why add more characters later ..... because the press ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ

varcertified: I prefer to wrap why add more characters later ..... because the press ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ

Still doesn't make sense. Sorry.

sorry for my English

It was enough to increase the baud Arduino and xbee