 boolean ir_cue_mode = true;
 unsigned long ir_time;
 unsigned int ir_cycle = 300;
-unsigned int ir_response_threshold = 500;
+unsigned int ir_response_threshold = 1000;
 
 void setup()
 {

        if(XBeeReturnCount > 1) {
          //get the first ID and ask to blink fast
          //can pass XBeeReturnIDs since it will only use the first 2 chars
          sendXBeePacketFromRaw(&XBee, XBeeReturnIDs, "S", "SEL", "1st");  
        } else {
          sendXBeePacketFromRaw(&XBee, XBeeReturnIDs, "C", "SEL", "AON");  
          //auto on means only 1 client responded and is auto selected
          //" ON" means selected manully among multiple targets by the user
        }
        
      } else {  //no respondants
        XBeeReturnIDs[0] = '\0';
        sendXBeePacketFromRaw(&XBee, XBeeReturnIDs, "S", "SEL", " NA");  
      }
        
      DEBUG_PRINT("IDs list:");

*/

#include <IRremote.h>


#define DEBUG

