 #define SONAR_NUM     2 // Number of sensors.
 #define MAX_DISTANCE 700 // Maximum distance (in cm) to ping.
 #define PING_INTERVAL 33 // Milliseconds between sensor pings (29ms is about the min to avoid cross-sensor echo).
+
+// Flags definitions
+#define F_MOTION 1 // 1 = activated  0 = no movement
+#define F_LEFT   2 // 1 = detection  0 = no detection
+#define F_RIGHT  3 // 1 = detection  0 = no detection
+
 
 // Pins
 const byte PIN_PIR = 2;         // PIR on external interupt to wake up the cpu, int.0 interupt 0 on pin 2

  }
  
  // Other code that *DOESN'T* analyze ping results can go here.
  
  if (millis() - lastTransmit > 1000) {
    // Proof of concept to power cycle the pings
    pingPowerState =!pingPowerState;

    
    transmit(buf); 
  }
  */
  
  
  if (millis() - awakeTime > powerTimeout) {
    //TODO: and not waiting for second sensor
    
    // Powerdown at the start of the next loop
    pingPowerState = 0;
  }
  
}

