1-Windows 10
2-Visual Micro 1812.22.0
3-Arduino IDE 1.8.9 2019/02/04
This is my investigation on the app WiFiSpiESP
https://github.com/JiriBilek/WiFiSpiESP;
the following message was sent to the author.
***
The Visual Micro requires to have the WiFiManager installed and included;
it verifies the
configModeCallback (line 80)
anyway, not taking into account the presence of the negative directive
#ifdef WIFIMANAGER_ENABLED ...
#endif
With the
WifiManager.h always included, OK.
It's an issue that concerns the Visual Micro Team.
***
This is the extract of code:
***
//#define WIFIMANAGER_ENABLED
...
#ifdef WIFIMANAGER_ENABLED Ticker ticker; // for status LED
void tick()
{
//toggle state
int state = digitalRead(LED_BUILTIN); // get the current state of LED
digitalWrite(LED_BUILTIN, !state); // set pin to the opposite state
}
// Gets called when WiFiManager enters configuration mode
void configModeCallback(WiFiManager *myWiFiManager) {
//Serial.println("Entered config mode");
//Serial.println(WiFi.softAPIP());
//if you used auto generated SSID, print it
//Serial.println(myWiFiManager->getConfigPortalSSID());
// entered config mode, make led toggle faster
ticker.attach(1, tick);
}
#endif
***
amelia
PS: With Arduino IDE directly, all OK.