Go to the documentation of this file.
32 #ifndef _IR_FEEDBACK_LED_HPP
33 #define _IR_FEEDBACK_LED_HPP
64 #if defined(LED_BUILTIN)
79 if (aEnableLEDFeedback) {
105 #if defined(ESP32) || defined(ESP8266)
111 #if defined(FEEDBACK_LED_IS_ACTIVE_LOW)
116 #if defined(LED_BUILTIN) // use fast macros here
118 # if defined(FEEDBACK_LED_IS_ACTIVE_LOW)
127 #if defined(FEEDBACK_LED_IS_ACTIVE_LOW)
132 #if defined(LED_BUILTIN)
134 # if defined(FEEDBACK_LED_IS_ACTIVE_LOW)
159 #endif // _IR_FEEDBACK_LED_HPP
void setFeedbackLED(bool aSwitchLedOn)
Flash LED while receiving or sending IR data.
void setBlinkPin(uint8_t aBlinkPin)
Old deprecated function name for setLEDFeedback()
void disableLEDFeedbackForSend()
void blink13(uint8_t aEnableLEDFeedback) __attribute__((deprecated("Please use setLEDFeedback() or enableLEDFeedback() / disableLEDFeedback().")))
Old deprecated function name for setLEDFeedback() or enableLEDFeedback() / disableLEDFeedback()
Contains pin number and enable status of the feedback LED.
uint8_t LedFeedbackEnabled
LED_FEEDBACK_ENABLED_FOR_RECEIVE or LED_FEEDBACK_ENABLED_FOR_SEND -> enable blinking of pin on IR pro...
uint8_t FeedbackLEDPin
if 0, then take board specific FEEDBACK_LED_ON() and FEEDBACK_LED_OFF() functions
#define LED_FEEDBACK_ENABLED_FOR_SEND
void disableLEDFeedback()
#define DO_NOT_ENABLE_LED_FEEDBACK
#define LED_FEEDBACK_ENABLED_FOR_RECEIVE
#define LED_FEEDBACK_DISABLED_COMPLETELY
void enableLEDFeedbackForSend()
struct FeedbackLEDControlStruct FeedbackLEDControl
The feedback LED control instance.
#define USE_DEFAULT_FEEDBACK_LED_PIN
void setLEDFeedback(uint8_t aFeedbackLEDPin, uint8_t aEnableLEDFeedback)
Enable blinking of feedback LED (LED_BUILTIN is taken as default) on IR sending and receiving Cannot ...