Skip to content

Instantly share code, notes, and snippets.

@li2hub
Last active Oct 17, 2018
Embed
What would you like to do?
#include <ESP8266WiFi.h>
const char *ssid = "ESP8266";
const char *password = "12345678";
void setup() {
Serial.begin(115200);
Serial.println();
Serial.print("Configuring access point...");
WiFi.mode(WIFI_AP);
WiFi.softAP(ssid, password);
IPAddress myIP = WiFi.softAPIP();
Serial.print("AP IP address: ");
Serial.println(myIP);
}
void loop() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment