Go Down

Topic: Configuring the Arduino MEGA with XBee (S1) for communication with API lib (Read 105 times) previous topic - next topic

xykudyax

I want to used XBEE to communicate between to Arduinos Mega. I'm using two Digi XBee Pro S1, and the goal is to transmit data between them... back and forth.

1) Send from Arduino 1 to Arduino 2  (change the led brightness) and then
2) Answer from Arduino 2 to Arduino 1 the current brightness (inside a structure)

I created a helper class DataTransfer to simplify the API Arduino lib (https://code.google.com/p/xbee-api/).
Both Arduinos must send and receive data, can you please give me some guidance and check if I'm doing something wrong in my helper class.

Go Up