   Serial.print("Initial: ");
   Serial.println(ri);
   
-  while(r > ri - 40) { 
+  while(r > ri - 70) { 
     r = colour_sensor.getColor('r');
 //        String colour = String(r);
 //        Serial.println(colour);


int startSwitch = 14;

void setup() {
  Serial.begin(9600);
  


  // Extinguisher
  pinMode(flame_sensor, INPUT);
  
  ri = -1;

  extingusher_servo.attach(servo_pin);
  extingusher_servo.write(90);
