wifisoftAP
This commit is contained in:
parent
7d755f1317
commit
cacf66bafc
|
@ -7,7 +7,6 @@
|
|||
#include "Wire.h"
|
||||
#include "driver/pcnt.h"
|
||||
#include <WiFi.h>
|
||||
#include <AsyncTCP.h>
|
||||
#include <ESPAsyncWebServer.h>
|
||||
#include "main.h"
|
||||
//#include <time.h>
|
||||
|
@ -461,9 +460,9 @@ void rtc_init() {
|
|||
|
||||
void start_wifiAP() {
|
||||
pinMode(LED_BUILTIN, OUTPUT);
|
||||
Serial.println();
|
||||
|
||||
Serial.println("Configuring access point...");
|
||||
//WiFi.softAP(ssid, password); // You can remove the password parameter if you want the AP to be open.
|
||||
WiFi.softAP(ssid, password); // You can remove the password parameter if you want the AP to be open.
|
||||
IPAddress myIP = WiFi.softAPIP();
|
||||
Serial.print("AP IP address: ");
|
||||
Serial.println(myIP);
|
||||
|
|
Loading…
Reference in a new issue