I found a very good code for RF module. It is simple but very robust. If you are interested, see the link below:http://www.glacialwanderer.com/hobbyrobotics/?p=291
Now I tried to use this code with my XBee 2 series and it doesn't work. I know that setting of the Xbee are correct because when I use different simple code , it works. So basically, no XBee setting problem at all.
Anybody have any idea why this code doesn't work with XBee 2 and any solution? Will it work with XBee 1(that I don't have)?
I wanted to use XBee for my project but the code I know is not stable. Project is simple to control the LED at the other side. The code in the "Wireless Sensor Networks" and "Arduino Cookbook" are simple and not stable. Anybody have more robust code to control a LED like the one shown in the link.