Skip to content

Instantly share code, notes, and snippets.

@maxpromer
Created May 27, 2017 12:34
Show Gist options
  • Save maxpromer/ddad6d139fb3ca30abbed087fb57bb84 to your computer and use it in GitHub Desktop.
Save maxpromer/ddad6d139fb3ca30abbed087fb57bb84 to your computer and use it in GitHub Desktop.
#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() { }
@Boy254023
Copy link

define WIFI_AP_NAME "ESP32 AP mode"
#define WIFI_AP_PASS

@Boy254023
Copy link

WiFi.mode(WIFI_AP);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment