 #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

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


    #if DEBUG
        Serial.println("setup sensors");
    #endif
    
    pinMode(APIN_LDR, INPUT);
    pinMode(DPIN_HALL, INPUT);
    
    // configure one-wire bus
    oneWireSensors.begin();
    #if DEBUG
        Serial.print("Locating devices...");
        Serial.print("Found ");
        Serial.print(oneWireSensors.getDeviceCount(), DEC);
        Serial.println(" devices.");
        
        Serial.print("Parasite power is: "); 
        if (oneWireSensors.isParasitePowerMode()) Serial.println("ON");
        else Serial.println("OFF");
    #endif    
}
