Example: receive digital data
This section teaches you how to create an XBee digital sensor network. Since the kit does not contain a real sensor, you simulate a digital sensor with the user button of the XBee Grove Development Board.
Note If you have a Grove sensor, you can connect it to the board for a more realistic example of a sensor network.
XBee B, where the sensor is connected, will be the sender. This XBee will transmit the value of the button to XBee A, the receiver, every time it is pressed or released.