bigmetabolic / xbee-arduino

Automatically exported from code.google.com/p/xbee-arduino
GNU General Public License v2.0
0 stars 0 forks source link

Serial device not automatically set #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try any of the current example sketches, such as Series2_Tx

What is the expected output? What do you see instead?

I expect to see data output to the serial port and see nothing.  After some 
trial and error I discovered that adding:

xbee.setSerial(Serial);

before xbee.begin fixes the problem and everything works perfectly.

Original issue reported on code.google.com by liminast...@gmail.com on 12 Oct 2011 at 4:17

GoogleCodeExporter commented 8 years ago
I'm going to close this since you seem to have it running

Original comment by andrew.rapp@gmail.com on 12 Oct 2011 at 6:08

GoogleCodeExporter commented 8 years ago
Are you saying this is the intended behavior?  My point is that, if you're 
supposed to do setSerial() before begin(), NONE of the examples work because 
they do not do this.

Original comment by liminast...@gmail.com on 12 Oct 2011 at 10:40