Created
May 27, 2017 12:34
-
-
Save maxpromer/ddad6d139fb3ca30abbed087fb57bb84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<WiFi.h> | |
#define WIFI_AP_NAME "ESP32 AP mode" | |
#define WIFI_AP_PASS NULL | |
void setup() { | |
Serial.begin(115200); | |
WiFi.mode(WIFI_AP); | |
WiFi.softAP(WIFI_AP_NAME, WIFI_AP_PASS); | |
Serial.print("IP address: "); | |
Serial.println(WiFi.softAPIP()); | |
} | |
void loop() { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WiFi.mode(WIFI_AP);