       }
     }
   }
+  int detectSound(){return 0;}
+  int detectBaby(){return 0;}
+  int usingCamera(){return 0;)
 }
+
 
 void setup() {
   // put your setup code here, to run once:

  extinguisher.attach(EXTINGUISHER_PIN);

  pinMode(IR_PIN, INPUT);
}

void loop() {

#define RIGHT_SERVO_PIN 5
#define IR_PIN 6
#define EXTINGUISHER_PIN 7
#define MIC_PIN 43 
#define FLAME_LED 9
#define MIC_LED 11
#define BABY_LED 17
#define CAMERA 15
#define CAMERA_LED 16

#define FRONT_US_ECHO   2
#define FRONT_US_TRIG   3
