- Tue Apr 23, 2013 1:59 am
#158738
I'm using the xbee series 1 modules on 2 xbees and I would like them to communicate, 2-way.
I set up the xbees like this (these are the only changes I made):
// XBee #26:
// PAN ID: 1111
// DH: 0
// DL: 1A
// MY: 17
//
// XBee #23:
// PAN ID: 1111
// DH: 0
// DL: 17
// 0 MY: 1A
My understanding is they are now configured to talk directly to each other...
Now the question, Serial or Serial1? Where is this documented. I've seen some references about changing Serial.begin() to Serial1.begin() but where's the definitive documentation for the V3 version of this product?
Basically I expect each fioV3 could have the very same code and transmit their data to each other.
Should I consider SoftwareSerial Library?
Hints, tips, examples of code that works on the fio to cross communicate would be appreciated.
Thanks,
Chris.
I set up the xbees like this (these are the only changes I made):
// XBee #26:
// PAN ID: 1111
// DH: 0
// DL: 1A
// MY: 17
//
// XBee #23:
// PAN ID: 1111
// DH: 0
// DL: 17
// 0 MY: 1A
My understanding is they are now configured to talk directly to each other...
Now the question, Serial or Serial1? Where is this documented. I've seen some references about changing Serial.begin() to Serial1.begin() but where's the definitive documentation for the V3 version of this product?
Basically I expect each fioV3 could have the very same code and transmit their data to each other.
Should I consider SoftwareSerial Library?
Hints, tips, examples of code that works on the fio to cross communicate would be appreciated.
Thanks,
Chris.