 #define CONNECTED 5
 
 // #define SOFTPOT_DELTA_THREASHOLD 80
-#define TARGET_DELTA_THRESHOLD 80
+#define TARGET_DELTA_THRESHOLD 60
 #define DELAY_IN_WAIT 1000000
 
 unsigned long session_id;// = 0xA90;

    DEBUG_PRINT(selectedXBee);
    DEBUG_PRINT(", id=");
    DEBUG_PRINT(XBeePacketArr[selectedXBee].id);
    DEBUG_PRINT(", pressed=");
    DEBUG_PRINT(pressed);
    DEBUG_PRINT(", released=");
    DEBUG_PRINTLN(released);
    if (selectedXBee != previousSelected) {
      sendXBeePacketFromRaw(&XBee, XBeePacketArr[selectedXBee].id, "v", XBeePacketArr[selectedXBee].data);
      previousSelected = selectedXBee;


      target_changes = (sliderVal - softpotInitV) / target_slider_threshold;      
      selectedXBee = initSelectedXBee + target_changes;
      DEBUG_PRINT(", target_changes=");
      DEBUG_PRINTLN(target_changes);
      
      // *** add loop here  for targets
      if (selectedXBee < 0) {
        selectedXBee = 0;
      }
