      digitalWrite(FLAME_LED, LOW);
      }
     
-    if (frontUltrasonic.getDistance() > 3) {
+    if (frontLeftUltrasonic.getDistance() > 3) {
       moveForward();
     } else {
       stopRobot();

Servo rightServo;
Servo extinguisher;

Ultrasonic frontUltrasonic(FRONT_US_ECHO, FRONT_US_TRIG, true);
Ultrasonic leftUltrasonic(LEFT_US_ECHO, LEFT_US_TRIG, true);
Ultrasonic rightUltrasonic(RIGHT_US_ECHO, RIGHT_US_TRIG, true);

bool checkingMicrophone = true;
bool hearingStartSound = false;

#define CAMERA 15
#define CAMERA_LED 16

//Ultrasonic Trigger and Echo pins (30-39)
#define F_L_ECHO  30  //Front-left Ultrasonic
#define F_L_TRIG  31
#define F_R_ECHO  32  //Front-right Ultrasonic
#define F_R_TRIG  33
#define R_ECHO  34  //Right Ultrasonic
#define R_TRIG  35
#define B_ECHO  36  //Back Ultrasonic
#define B_TRIG  37
#define L_ECHO  38  //Left Ultrasonic
#define L_TRIG  39

// Bounds for start sound frequency:
#define LOW_START 3306
