mirror of
https://github.com/thelsing/knx.git
synced 2025-08-13 13:46:20 +02:00
Update knx_facade.cpp
This commit is contained in:
parent
ddcfd2c2ad
commit
24e7c36c20
@ -29,21 +29,21 @@ void buttonUp()
|
||||
if (knx.progMode())
|
||||
{
|
||||
#ifdef ESP8266_WEMOS_D1_R2
|
||||
digitalWrite(knx.ledPin(), HIGH);
|
||||
#endif
|
||||
#ifdef ESP8266_NODE_MCU
|
||||
digitalWrite(knx.ledPin(), HIGH);
|
||||
#endif
|
||||
#ifdef ESP8266_NODE_MCU
|
||||
digitalWrite(knx.ledPin(), LOW);
|
||||
#endif
|
||||
#endif
|
||||
knx.progMode(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef ESP8266_WEMOS_D1_R2
|
||||
digitalWrite(knx.ledPin(), LOW);
|
||||
#endif
|
||||
#ifdef ESP8266_NODE_MCU
|
||||
digitalWrite(knx.ledPin(), LOW);
|
||||
#endif
|
||||
#ifdef ESP8266_NODE_MCU
|
||||
digitalWrite(knx.ledPin(), HIGH);
|
||||
#endif
|
||||
#endif
|
||||
knx.progMode(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user