Go Down

Topic: xbee + ethernet shield + arduino uno r2 (Read 1 time) previous topic - next topic

SurferTim

#10
Oct 30, 2012, 07:22 pm Last Edit: Oct 30, 2012, 07:56 pm by SurferTim Reason: 1
I'm not and XBee user, but it appears that shield uses the hardware serial port. Here is the test code from this page.
http://www.cooking-hacks.com/index.php/documentation/tutorials/arduino-xbee-shield
Code: [Select]
  void setup()
  {
  Serial.begin(9600);
  }

  void loop()
  {
  Serial.print('H');
  delay(1000);
  Serial.print('L');
  delay(1000);
  }

You should be able to monitor this with your serial monitor. However, I would presume from this that you will not be able to use the hardware serial port for anything else, including debugging messages from the ethernet...edit: unless you want to send the ethernet debugging output to the other XBee.

Go Up