MySensors Library & Examples  2.3.2-62-ge298769
Macros
+ Collaboration diagram for LED:

Detailed Description

These options control LED specific configurations.

Macros

#define MY_DEFAULT_ERR_LED_PIN
 Define this with a value that correspond to your placement of the error indication LED. More...
 
#define MY_DEFAULT_TX_LED_PIN
 Define this with a value that correspond to your placement of the TX indication LED. More...
 
#define MY_DEFAULT_RX_LED_PIN
 Define this with a value that correspond to your placement of the RX indication LED. More...
 
#define MY_WITH_LEDS_BLINKING_INVERSE
 Define this to inverse the LED blinking. More...
 
#define MY_INDICATION_HANDLER
 Define to use own indication handler.
 
#define MY_DEFAULT_LED_BLINK_PERIOD   300
 Default LEDs blinking period in milliseconds.
 

Macro Definition Documentation

◆ MY_DEFAULT_ERR_LED_PIN

#define MY_DEFAULT_ERR_LED_PIN

Define this with a value that correspond to your placement of the error indication LED.

Note
This is optional.
On some platforms (for example sensebender GW) the hardware definitions can enable the LED by default. That default can be overridden by defining this flag.

Definition at line 2709 of file MyConfig.h.

◆ MY_DEFAULT_RX_LED_PIN

#define MY_DEFAULT_RX_LED_PIN

Define this with a value that correspond to your placement of the RX indication LED.

Note
This is optional.
On some platforms (for example sensebender GW) the hardware definitions can enable the LED by default. That default can be overridden by defining this flag.

Definition at line 2711 of file MyConfig.h.

◆ MY_DEFAULT_TX_LED_PIN

#define MY_DEFAULT_TX_LED_PIN

Define this with a value that correspond to your placement of the TX indication LED.

Note
This is optional.
On some platforms (for example sensebender GW) the hardware definitions can enable the LED by default. That default can be overridden by defining this flag.

Definition at line 2710 of file MyConfig.h.

◆ MY_WITH_LEDS_BLINKING_INVERSE

#define MY_WITH_LEDS_BLINKING_INVERSE

Define this to inverse the LED blinking.

When defined LEDs are normally turned on and switches off when blinking.

Definition at line 2670 of file MyConfig.h.