Thanks, I worked it out using the diagram. If I use the end-stop pins D18 and D19 on ramps board I can get the two way com.by twimbee - RAMPS Electronics
Hi, I am trying to achieve a two way wireless communication between an arduino mega stacked with ramps 1.4 and and my computer. I can currently achieve this by stacking the sparkfun XBee shield directly onto arduino mega, however to achieve the two way communication in this way I had to jumper-connect pins 2 and 3 on XBee shield to RX1, TX1 on arduino mega. The code below and the hardware configby twimbee - RAMPS Electronics