   //and goes into a blocking loop awaiting configuration
   
   print_oled(F("Connecting..."),2);  
-  if(!wm.autoConnect("WM_AutoConnectAP")) {
+  if(!AUTOSTARTCP || !wm.autoConnect("WM_AutoConnectAP")) {
     Serial.println("failed to connect and hit timeout");
     print_oled("Not Connected",2);
   }

  // wm.setShowPassword(true);

  // set configrportal timeout
  wm.setConfigPortalTimeout(120);
  // wm.startConfigPortal("AutoConnectAP", "password");

  // wm.setBreakAfterConfig(true);

}

void loop() {

  Serial.println((String)analogRead(A0));

  #ifdef USEOTA
  ArduinoOTA.handle();
