 #define APIN_LDR        1  // data connection for photocell
 #define DPIN_ONEWIRE    3  // data connection for the Dallas OneWire bus
 #define DPIN_HALL       7  // data connection for hall effect
-#define DPIN_RF_LED     9  // led indicating rf traffic
+#define DPIN_RF_LED     2  // rf activiyy indicator LED
+#define DPIN_MOTE_LED   9  // moteinos have LEDs on D9
 #define VOLTAGE         3.3
 
 #define MEASURE_PERIOD  100

    #if DEBUG
        Serial.println("setup sensors");
    #endif
    pinMode(APIN_LDR, INPUT);
    pinMode(DPIN_HALL, INPUT);
    oneWireSensors.begin();  
}

// main processing loop
//
void loop() {
  
    heartbeat(DPIN_MOTE_LED);
    
    switch (scheduler.pollWaiting()) {

