Created
May 11, 2020 13:28
-
-
Save noob-master147/d342858b33bda4ada5a0cd57970959ed 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> // WiFi Library | |
// The name of the Wi-Fi network to be created | |
const char *ssid = "ESP8266 Access Point"; | |
const char *password = "password_here"; // The password to connect | |
void setup() | |
{ | |
Serial.begin(115200); | |
delay(10); | |
Serial.println('\n'); | |
WiFi.softAP(ssid, password); // Start the access point | |
Serial.print("Access Point \""); | |
Serial.print(ssid); | |
Serial.println("\" started"); | |
Serial.print("IP address:\t"); | |
Serial.println(WiFi.softAPIP()); //Send the IP address of the ESP8266 | |
} | |
void loop() | |
{ | |
// Type your Code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment