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

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

#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     2  // rf activiyy indicator LED
#define DPIN_MOTE_LED   9  // moteinos have LEDs on D9
#define VOLTAGE         3.3

#define MEASURE_PERIOD  100
