     if (!enterCommandMode()) return 1;
   }
   // Use D9 & D10 links to determine polling interval
-  // TODO
+  // Select polling interval based on jumpers
+  switch( pollingInterval ) {
+    case TWENTYSEC:
+      if (!sendCommand("ATSD4E20")) return 2;	// 20 seconds
+      break;
+ //   case ONEMIN:
+ //     if (!sendCommand("ATSDEA60")) return 2;	// 1 Minute
+ //     break;
+    case FIVEMINS:
+      if (!sendCommand("ATSD493E0")) return 2;	// 5 minutes
+      break;
+    case TENMINS:
+      if (!sendCommand("ATSD927C0")) return 2;	// 10 minutes
+      break;      
+    default:
+      if (!sendCommand("ATSDDBBA0")) return 2;	// 15 minutes
+  }
   //if (!sendCommand("ATSDDBBA0")) return 2;	// 15 minutes
   //if (!sendCommand("ATSD927C0")) return 2;	// 10 minutes
-  if (!sendCommand("ATSD493E0")) return 2;	// 5 minutes
+  //if (!sendCommand("ATSD493E0")) return 2;	// 5 minutes
   //if (!sendCommand("ATSD4E20")) return 2;	// 20 seconds
   //if (!sendCommand("ATSD1388")) return 2;	// 5 seconds
   //if (!sendCommand("ATSD3E8")) return 2;	// 1 seconds

#include <OneWire.h>
#include <DallasTemperature.h>

#define VERSION_STRING "V0.9"

// Number of readings before a battery reading is taken
#define BATTERY_READ_INTERVAL 10

// Hardware pin defines
// Enable SRF

  // initialise serial:
  Serial.begin(115200);
  // Get device ID
  readJumpers();
  // Initialise the LLAPSerial library
  LLAP.init( nodeId );
  analogReference(DEFAULT);
