  then turn on the two ping sensors which detect if someone goes past and in which direction.
 
 */
+
+// http://www.nongnu.org/avr-libc/user-manual/group__avr__power.html
+#include <avr/power.h>
+#include <avr/sleep.h>
 
 // NewPing uses timer 2 and switches pinging between sensors
 // @see https://code.google.com/p/arduino-new-ping/

  NewPing(PIN_TRIG_RIGHT, PIN_ECHO_RIGHT, MAX_DISTANCE),
};


/**
 * Transmit the message.

  }
  Serial.println();
  
}

/*
 * ISR for pin 2 (int.0)
 */
void isrMotion() {
  // Tell the loop to power up the ping sensors.
  pingPowerState = 1;
  // Rest the awake time.
  awakeTime = 0;
}

void setup() 
