error when ompiling

#include “MQ135.h”
int analogPin = 0;
MQ135 gasSensor = MQ135(analogPin);
int i = 0;
double result;
double rzero;
#define RZERO 310
//set up macros for wifi and webhost connection //
#define SSID “[MY_SSID]” //SSID
#define PASS “[my-password]”
#define HOST " " //webhost
#define PASSCODE " " //php.passcode
#define SENDDELAY 120

void setup(){

Serial.begin(9600);
Serial.println(“AT”);
delay(5000);
if(Serial.find(“OK”)){
connectWiFi();
}
}
void loop(){

float PPM = gasSensor.getPPM();
sendData(String(PPM));
delay(120000);
}

void sendData(String ppmSensor){
//set up tcp connection
String cmd=“AT+CIPSTART=“TCP”,”";
cmd += HOST;
cmd += “”,80";
Serial.println(cmd);
delay(2000);
if(Serial.find(“Error”)){
return;
}
//send data
cmd = “Get URL=”;
cmd += PASSCODE;
cmd += “&1=”;
cmd += “ppmSensor”;
cmd += " HTTP/1.1\r\nHost: “;
cmd += HOST;
cmd += “\r\n\r\n\r\n”;
Serial.print(“AT+CIPSEND=”);
Serial.println(cmd.length());
if(Serial.find(”>")){
Serial.print(cmd);
}
else{
Serial.println(“AT+CIPCLOSE”);
}
}
boolean connectWIFI(){
Serial.println(“AT+CWMODE=1”);
delay(2000);
String cmd=“AT+CWJAP=”";
cmd+=SSID;
cmd+="","";
cmd+=PASS;
cmd+=""";
Serial.println(cmd);
delay(5000);
if(Serial.find(“OK”)){
return true;
}
else{
return false;
}
}

mqmaster_file_with_esp8266:22: error: ‘connectwifi’ was not declared in this scope

connectwifi();

^

exit status 1
‘connectwifi’ was not declared in this scope

error: 'connectwifi' was not declared in this scope

Well, where is it declared? (hint)

Please, remember to use code tags when posting code.

Well I see you have a connectWIFI and a connectWiFi in the code, which should presumably be the same. Sort that for a start....

In other news, is this....

delay(120000);

.... for real?