mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
fix ESP32 IP KNX Demo (#139)
This commit is contained in:
parent
14462d410d
commit
2450c1c458
@ -1,6 +1,7 @@
|
|||||||
|
#include <Arduino.h>
|
||||||
#include <knx.h>
|
#include <knx.h>
|
||||||
|
|
||||||
#ifdef ARDUINO_ARCH_ESP8266
|
#if defined ARDUINO_ARCH_ESP8266 || defined ARDUINO_ARCH_ESP32
|
||||||
#include <WiFiManager.h>
|
#include <WiFiManager.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ void setup()
|
|||||||
|
|
||||||
randomSeed(millis());
|
randomSeed(millis());
|
||||||
|
|
||||||
#ifdef ARDUINO_ARCH_ESP8266
|
#if defined ARDUINO_ARCH_ESP8266 || defined ARDUINO_ARCH_ESP32
|
||||||
WiFiManager wifiManager;
|
WiFiManager wifiManager;
|
||||||
wifiManager.autoConnect("knx-demo");
|
wifiManager.autoConnect("knx-demo");
|
||||||
#endif
|
#endif
|
||||||
|
@ -61,6 +61,7 @@ platform = espressif32
|
|||||||
board = esp32dev
|
board = esp32dev
|
||||||
framework = arduino
|
framework = arduino
|
||||||
lib_deps =
|
lib_deps =
|
||||||
|
https://github.com/tzapu/WiFiManager.git
|
||||||
knx
|
knx
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
|
@ -79,6 +79,7 @@ framework = arduino
|
|||||||
lib_extra_dirs = ../../../
|
lib_extra_dirs = ../../../
|
||||||
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
|
https://github.com/tzapu/WiFiManager.git
|
||||||
knx
|
knx
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
|
Loading…
Reference in New Issue
Block a user