1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #include <WiFiManager.h>
- void setup() {
- WiFi.mode(WIFI_STA);
-
- Serial.begin(115200);
-
-
-
- WiFiManager wm;
-
-
-
-
-
-
- bool res;
-
-
- res = wm.autoConnect("AutoConnectAP","password");
- if(!res) {
- Serial.println("Failed to connect");
-
- }
- else {
-
- Serial.println("connected...yeey :)");
- }
- }
- void loop() {
-
-
- }
|