fix ESP32 IP KNX Demo (#139)

This commit is contained in:
croghostrider
2021-06-02 17:55:07 +02:00
committed by GitHub
parent 14462d410d
commit 2450c1c458
3 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
#include <Arduino.h>
#include <knx.h>
#ifdef ARDUINO_ARCH_ESP8266
#if defined ARDUINO_ARCH_ESP8266 || defined ARDUINO_ARCH_ESP32
#include <WiFiManager.h>
#endif
@@ -59,7 +60,7 @@ void setup()
randomSeed(millis());
#ifdef ARDUINO_ARCH_ESP8266
#if defined ARDUINO_ARCH_ESP8266 || defined ARDUINO_ARCH_ESP32
WiFiManager wifiManager;
wifiManager.autoConnect("knx-demo");
#endif

View File

@@ -61,6 +61,7 @@ platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
https://github.com/tzapu/WiFiManager.git
knx
build_flags =

View File

@@ -79,6 +79,7 @@ framework = arduino
lib_extra_dirs = ../../../
lib_deps =
https://github.com/tzapu/WiFiManager.git
knx
build_flags =