mirror of
https://github.com/anklimov/lighthub
synced 2026-05-02 20:16:55 +00:00
MCP23017 inputs
STATUSLED Compilation for all platforms WIFI_ENABLE option to allow wired connection for ESP Modbus, Syslog for ESP
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
#define _owire
|
||||
#endif
|
||||
|
||||
#ifndef MODBUS_DISABLE
|
||||
#if !(defined (MODBUS_DISABLE) && defined (MBUS_DISABLE))
|
||||
#define _modbus
|
||||
#endif
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
|
||||
#if defined(ARDUINO_ARCH_ESP8266)
|
||||
#undef _dmxin
|
||||
#undef _modbus
|
||||
//#undef _modbus
|
||||
|
||||
#ifndef DMX_DISABLE
|
||||
#define _espdmx
|
||||
@@ -183,13 +183,14 @@
|
||||
|
||||
#if defined(ARDUINO_ARCH_ESP32)
|
||||
#undef _dmxin
|
||||
#undef _modbus
|
||||
//#undef _modbus
|
||||
|
||||
#ifndef DMX_DISABLE
|
||||
#define _espdmx
|
||||
#endif
|
||||
//#undef _dmxout
|
||||
#undef modbusSerial
|
||||
//#undef modbusSerial
|
||||
#define modbusSerial Serial2
|
||||
#endif
|
||||
|
||||
#ifndef _dmxout
|
||||
|
||||
Reference in New Issue
Block a user