Guest User

Untitled

a guest
Oct 17th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include <ESP8266WiFi.h>
  2.  
  3. const char *ssid = "ESP8266";
  4. const char *password = "12345678";
  5.  
  6. void setup() {
  7. Serial.begin(115200);
  8. Serial.println();
  9. Serial.print("Configuring access point...");
  10. WiFi.mode(WIFI_AP);
  11. WiFi.softAP(ssid, password);
  12.  
  13. IPAddress myIP = WiFi.softAPIP();
  14. Serial.print("AP IP address: ");
  15. Serial.println(myIP);
  16. }
  17.  
  18. void loop() {
  19.  
  20. }
Add Comment
Please, Sign In to add comment