I have 2 arduino uno (a coordinatore and a end-node) with XBEE shield.
So,How can i know the time of association between the two objects?
Know the what?
How is this a programming question?
because I need to create a sketch that will enable me to determine this time,but i can't unserstant how do it
What do you mean, "time of association"? Nobody knows what you mean. Explain.
XBEE is used for devices communicating using the Zigbee protocol. An end node needs to associate with a coordinator. The end node usually does not need to know this time. The coordinator may have its own knowledge of the current time.
I still don't understand the question: "How can i (sic) know the time of association between the two objects?"
I would expect a good API to provide this information to the coordinator, but the poster has not provided any code or provided any information about what API is being used.
If the time on the end node is needed as well, then I would expect to be told how closely the two times need to match. I am confused.
this sounds like either an XY problem or a homework assignment.
do you know the the fuel to air ratio of your car ? such a basic thing, but almost no one who drives knows that it even exists.
do you know the zinc to gallium arsenide ratio for an LED ? me neither, but I can get one to fade, to blink, to turn on and off. I can even blow one up.
the question is WHY do you want to know this ?
if you are having a hard time getting it to work, post your sketch and detail the problem.