on duemlinove board i would like to connect the xbee module and touchshield slide.
1.Xbee module recieves some data and then transmittes it to arduino board.
2.Arduino then transmittes data to touchshield slide
If i understand right i have to define some available pins as RX and TX, which i did for the touchshield slide as:
#include <AFSoftSerial.h> #define RX_PIN 3 #define TX_PIN 2 AFSoftSerial mySerial = AFSoftSerial(RX_PIN, TX_PIN);
I suppose i have to do the similar thing for the Xbee, but i don’t know how.
which pin on duemilanove can i use for the RX and TX and how to define it if necessary?