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>
|
||||
|
||||
#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
|
||||
|
@ -61,6 +61,7 @@ platform = espressif32
|
||||
board = esp32dev
|
||||
framework = arduino
|
||||
lib_deps =
|
||||
https://github.com/tzapu/WiFiManager.git
|
||||
knx
|
||||
|
||||
build_flags =
|
||||
|
@ -79,6 +79,7 @@ framework = arduino
|
||||
lib_extra_dirs = ../../../
|
||||
|
||||
lib_deps =
|
||||
https://github.com/tzapu/WiFiManager.git
|
||||
knx
|
||||
|
||||
build_flags =
|
||||
|
Loading…
Reference in New Issue
Block a user