   pinMode(TRIGGER_PIN, INPUT);
 }
 
-
 void loop() {
   // is configuration portal requested?
   if ( digitalRead(TRIGGER_PIN) == LOW ) {
+    Serial.println("BUTTON PRESSED");
     //WiFiManager
     //Local intialization. Once its business is done, there is no need to keep it around
     //reset settings - for testing
     //wm.resetSettings();
 
     //sets timeout until configuration portal gets turned off
-    //useful to make it all retry or go to sleep
-    //in seconds
+    //useful to make it all retry or go to sleep, in seconds
     wm.setConfigPortalTimeout(120);
 
     //it starts an access point with the specified name

  //Local intialization. Once its business is done, there is no need to keep it around
  //reset settings - for testing
  // wm.resetSettings();
  // 
  wm.setClass("invert");

  //sets timeout until configuration portal gets turned off
  //useful to make it all retry or go to sleep
  //in seconds
  // wm.setConfigPortalTimeout(600);
  wm.setConnectTimeout(10);
  // wm.setShowStaticFields(true);

  // uint8_t menu[] = {wm.MENU_WIFI,wm.MENU_INFO,wm.MENU_PARAM,wm.MENU_CLOSE};

  }

  // put your main code here, to run repeatedly:
  delay(5000);
}
