From cacf66bafc58c0ef300ac972b314e5d9cc8ffb63 Mon Sep 17 00:00:00 2001 From: pgp Date: Fri, 16 Apr 2021 14:59:47 +0200 Subject: [PATCH] wifisoftAP --- src/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 26dd7e7..283ac4f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,7 +7,6 @@ #include "Wire.h" #include "driver/pcnt.h" #include -#include #include #include "main.h" //#include @@ -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);