Add MY_INCLUSION_LED_PIN (#1030)
Thanks to @TokTias for this idea and a starting point for the code. This PR replaces https://github.com/mysensors/MySensors/pull/1029
This commit is contained in:
+10
@@ -1282,6 +1282,15 @@
|
||||
#undef MY_INCLUSION_BUTTON_FEATURE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @def MY_INCLUSION_LED_PIN
|
||||
* @brief Enables an inclusion mode LED indicator on the gateway device.
|
||||
*
|
||||
* With this defined, inclusion mode status (on or off) is indicated by the LED.
|
||||
* This feature obeys @ref MY_WITH_LEDS_BLINKING_INVERSE
|
||||
*/
|
||||
//#define MY_INCLUSION_LED_PIN (7)
|
||||
|
||||
/**
|
||||
* @def MY_INCLUSION_MODE_BUTTON_PIN
|
||||
* @brief The default input pin used for the inclusion mode button.
|
||||
@@ -1927,6 +1936,7 @@
|
||||
// GW
|
||||
#define MY_DEBUG_VERBOSE_GATEWAY
|
||||
#define MY_INCLUSION_BUTTON_EXTERNAL_PULLUP
|
||||
#define MY_INCLUSION_LED_PIN
|
||||
#define MY_GATEWAY_W5100
|
||||
#define MY_GATEWAY_ENC28J60
|
||||
#define MY_GATEWAY_ESP8266
|
||||
|
||||
Reference in New Issue
Block a user