Relay Shield with XBee


I am trying to control the relay shield with xbees.

I downloaded the provided code that is on your wiki page but when I try loading the code I get the error…

‘byte does not name a type’

Any reason why this is happening and any ways to fix it?

Also, is there any easier code steps to take to communicate one xbee on the shield to an xbee connected through an explorer to usb on a computer?

I am trying to connect sensors to the arduino and then have a relay turn on/off according to analog sensor reads. I am able to do this without xbee connection, but am now trying to use the xbees for wireless read passed to my computer.


Hi,you need use Arduino 0023 to program it.