     }
     delay(100);
   }
-  int detectSound(){return 0;}
-  int detectBaby(){return 0;}
-  int usingCamera(){return 0;)
 }
 
 

  
  delay(100);

  if (detectfire()){
    digitalWrite(FLAME_LED, HIGH);
  } else {
    digitWrite(FLAME_LED, LOW);
  }
  
  if (usingCamera()){

  extinguisher.write(90);
}

int detectSound(){return 0;}
int detectBaby(){return 0;}
int usingCamera(){return 0;}

void extinguishFire(){
  while (detectFire()) {
    if (frontUltrasonic.getDistance() > 3) {
