Bugfix for ESP8266, ESP01

UM PIR: pin default -1
xml.cpp: no D1-8 for esp01
This commit is contained in:
Ewoud
2023-01-20 12:34:11 +01:00
parent 41c8a1003b
commit 1f921bf0c9
5 changed files with 7 additions and 9 deletions

View File

@@ -4,11 +4,7 @@
#ifndef PIR_SENSOR_PIN
// compatible with QuinLED-Dig-Uno
#ifdef ARDUINO_ARCH_ESP32
#define PIR_SENSOR_PIN 23 // Q4
#else //ESP8266 boards
#define PIR_SENSOR_PIN 13 // Q4 (D7 on D1 mini)
#endif
#define PIR_SENSOR_PIN -1 //WLEDMM not default 23 // Q4 for esp32 or otherwise 13 // Q4 (D7 on D1 mini)
#endif
#ifndef PIR_SENSOR_OFF_SEC