Novice: XBEE problems

Hello, im new to this forum and this post is most likely in the wrong spot but… I have been trying to figure out my xbees they are series one and ive been attempting to send the value 100 over to a different arduino. The problem is that i receive weird numbers; this is what i get back:
Ready!
6
129
0
1
59
0
100
222
126
0
6
129
0
1
59
0
100
222
126
0
6
129
0
1
62
0
100
219
126
0
6
129
0
1
63
0
100
218
126
0
6
i receive 100 every now an then but not repetitive. my baud rate is set at 19200. ANY help is appreciated.

Those values make me think you're in API mode; "126" is 0x7E in hex, which is the start of an API frame. For example, starting with the first "126" in your output (up to the next one), I see what looks like a well-formed API frame:

| Dec | Hex | Description | | - | - | - | | 126 | 0x7e | Frame start | | 0, 6 | 0x0006 | Frame length | | 129 | 0x81 | API Identifier, in this case an RX packet (only on Series 1) | | 0, 1 | 0x0001 | Source address | | 59 | 0x3b | RSSI (Received signal strength indicator) | | 0 | 0x00 | Options (none) | | 100 | 0x64 | Frame contents, ie. your "100" in hexadecimal. | | 222 | 0xde | Checksum (and it's valid) |

So, you're receiving the "100" you transmitted just fine, but the junk ahead of it makes me think you're getting a bit of packet damage in flight. Try reducing your baud rate back down to 9600 and see if you experience the same problems.

Also, do you have the same API mode set on both XBees, ie. AP=2?

Finally, read this. :) 'tis good stuff.

Het man thanks so much i got it sending 0's and 1's to turn on an led. have any idea on how i could send two analog values???

thanks in advance.