Last active
October 17, 2018 08:20
-
-
Save li2hub/eee6ac676d9c5aed5381b30fa0ac8e94 to your computer and use it in GitHub Desktop.
This file contains 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 <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