Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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() {
- }
Add Comment
Please, Sign In to add comment