USB and XBee Communication

I can turn a digital pin HIGH which would connect the XBee and Recieve Pin, and turn the pin LOW which would disconnect the XBee from the Receiver pin allowing communication between the computer and Arduino.

You could use an analogue MUX for this, but it would a lot easier just to use software serial for the XBee.


Rob