mirror of
https://github.com/anklimov/lighthub
synced 2025-12-17 09:09:51 +03: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:
@@ -1457,7 +1457,7 @@ bool send = isNotRetainingStatus() ;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef _modbus
|
||||
#ifndef MODBUS_DISABLE
|
||||
case CH_MODBUS:
|
||||
modbusDimmerSet(Par[0]);
|
||||
break;
|
||||
@@ -1540,7 +1540,7 @@ bool send = isNotRetainingStatus() ;
|
||||
debugSerial<<F("Pin:")<<iaddr<<F("=")<<k<<endl;
|
||||
break;
|
||||
}
|
||||
#ifdef _modbus
|
||||
#ifndef MODBUS_DISABLE
|
||||
case CH_VC:
|
||||
VacomSetFan(Par[0], cmd);
|
||||
break;
|
||||
@@ -1703,7 +1703,7 @@ POLL 2101x10
|
||||
[22:27:29] => poll: 0A 03 08 34 00 0A 87 18
|
||||
|
||||
*/
|
||||
#ifdef _modbus
|
||||
#ifndef MODBUS_DISABLE
|
||||
int Item::modbusDimmerSet(uint16_t value)
|
||||
{
|
||||
switch (getCmd())
|
||||
|
||||
Reference in New Issue
Block a user