Sample code using ZigBee communication with Arduino