Description
Hi everybody!
when i m tryna upload this code
`#include <ESP8266WiFi.h> //ESP8266 Core WiFi Library (you most likely already have this in your sketch)
#include <DNSServer.h> //Local DNS Server used for redirecting all requests to the configuration portal
#include <ESP8266WebServer.h> //Local WebServer used to serve the configuration portal
#include <WiFiManager.h>
void setup() {
WiFiManager wifiManager;
//first parameter is name of access point, second is the password
wifiManager.autoConnect("corph","corph@786");
//wifiManager.autoConnect();
}
void loop() {
}
it shows this error message
Arduino: 1.8.7 (Windows Store 1.8.15.0) (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
libraries\WiFiManager-master\WiFiManager.cpp.o: In function `String::operator+=(String const&)':
C:\Users\MEHARR\Documents\Arduino\libraries\WiFiManager-master/WiFiManager.cpp:891: undefined reference to `WPS_is_unavailable_in_this_configuration__Please_check_FAQ_or_board_generator_tool'
libraries\WiFiManager-master\WiFiManager.cpp.o: In function `WiFiManager::startWPS()':
C:\Users\MEHARR\Documents\Arduino\libraries\WiFiManager-master/WiFiManager.cpp:891: undefined reference to `WPS_is_unavailable_in_this_configuration__Please_check_FAQ_or_board_generator_tool'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board NodeMCU 0.9 (ESP-12 Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`
when i try to upload any other program..it goes fine.....could you please suggest reason and solution for this... thanks in advance
Activity