Wireless control with an XBee