mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
New PlatformIO Build Flags "KNX_LED_ACTIVE_ON" , default is low
This commit is contained in:
parent
245b82e627
commit
90cafdbd01
@ -58,6 +58,9 @@
|
|||||||
#ifndef KNX_LED
|
#ifndef KNX_LED
|
||||||
#define KNX_LED LED_BUILTIN
|
#define KNX_LED LED_BUILTIN
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef KNX_LED_ACTIVE_ON
|
||||||
|
#define KNX_LED_ACTIVE_ON 0
|
||||||
|
#endif
|
||||||
#ifndef KNX_BUTTON
|
#ifndef KNX_BUTTON
|
||||||
#define KNX_BUTTON -1
|
#define KNX_BUTTON -1
|
||||||
#endif
|
#endif
|
||||||
@ -411,7 +414,7 @@ template <class P, class B> class KnxFacade : private SaveRestore
|
|||||||
B& _bau;
|
B& _bau;
|
||||||
ProgLedOnCallback _progLedOnCallback = 0;
|
ProgLedOnCallback _progLedOnCallback = 0;
|
||||||
ProgLedOffCallback _progLedOffCallback = 0;
|
ProgLedOffCallback _progLedOffCallback = 0;
|
||||||
uint32_t _ledPinActiveOn = LOW;
|
uint32_t _ledPinActiveOn = KNX_LED_ACTIVE_ON;
|
||||||
uint32_t _ledPin = KNX_LED;
|
uint32_t _ledPin = KNX_LED;
|
||||||
int32_t _buttonPin = KNX_BUTTON;
|
int32_t _buttonPin = KNX_BUTTON;
|
||||||
SaveCallback _saveCallback = 0;
|
SaveCallback _saveCallback = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user