I have two Lilypads (with the Atmel 328 chip) that I wish to interface through the appropriate shields (which I have) to XBees. At the same time, I want to debug through the main Arduino serial port, which is on pin 0 & 1. This means I can’t interface to the XBee through that port. Assuming the Lilypad has another serial port, how do I wire it up, and how do I interface with it in software?
Mind, I am not having problems on the XBee side, I need to know about the Lilypad’s second serial port, if it has one.