Hi,
I actually search a tutorial to create a little arduino's program. My problem is I don't find a simple way to do that.
I haven't the time to learn how works arduino's library so I would like that someone tell me how do that. I just want have
two arduino cards connected with two xbee shield. By example, when I press a button connected to the first card, I want
a led connected to the second card switch on. If someone can show me the code to do that, it will be very nice.
Excuse me for my bad english, I'm a young french ;p.
I haven't the time to learn how works arduino's library
Homework's due and you haven't started?
I just want have two arduino cards connected with two xbee shield.
Which Arduinos? Which XBees? Which shields?
If someone can show me the code to do that, it will be very nice.
The XBees replace a wire. Or, technically, a pair of wires.
Start with trying to make the two Arduinos communicate with TX on one connected to RX on the other, and the grounds connected. How would you do that? The Serial.print() and Serial.write() commands to send and the Serial.available() and Serial.read() methods to receive come to mind.
When that works, popping on the XBee shields with Series 1 XBees (Set PAN ID, MY and DL; MY on one equals DL on the other, and neither is 0) will allow the Arduinos to continue to communicate without any wires.