   
   }
   else{
-      Serial.println("RECONNECTING");
+      Serial.println("Reconnecting");
       connectWifi();
   }
   

void setup() {
    pinMode(LED_PIN, OUTPUT);
    Serial.begin(9600);
    while(!Serial){} //wait for serial connection 
    connectWifi();
}


/* User Settings
*********************/ 
const char* ssid = "networkname";      //  your network SSID (case sensitive)
const char* pass = "password";   // your network password (case sensitive)
const char* APIserver = "myapiname.awsregion.elasticbeanstalk.com";
const char* APIresource = "/api/v1/getalarm";


