Go Down

Topic: [Solved] Send data to a specific Xbee Module (Read 176 times) previous topic - next topic

deathmemorial

Dec 30, 2018, 11:27 pm Last Edit: Jan 02, 2019, 11:40 pm by deathmemorial
Hello everyone.
I have 3 xbee Pro S1 modules,  One acting as Master, the other 2 as slaves.
I managed to send and recieve data using two xbee modules. My problem is how to send data to a specific xbee Slave? not both of them at the same time.

for recieving data i use this code:

while (Xbee.available()) {
     c=Xbee.read();
     Serial.print(c);
    }


for sending i use this :   

for (int i=0;i<16;i++)
     Xbee.write(message);


but i don't know how to adress a specific xbee slave.
Any help is appreciated. Thank you in advance

deathmemorial


Acrus

How did you solve this problem? , If you don't mind me asking  :smiley-sad:

Go Up