Go to the documentation of this file.
32 #ifndef _IR_FEEDBACK_LED_HPP
33 #define _IR_FEEDBACK_LED_HPP
59 #if defined(LED_BUILTIN)
63 if (__builtin_constant_p(aFeedbackLEDPin)) {
66 pinMode(aFeedbackLEDPin, OUTPUT);
93 #if defined(ESP32) || defined(ESP8266)
100 #if defined(LED_BUILTIN) // use fast macros here
101 # if defined(FEEDBACK_LED_IS_ACTIVE_LOW)
109 #if defined(FEEDBACK_LED_IS_ACTIVE_LOW)
127 #if defined(LED_BUILTIN)
128 # if defined(FEEDBACK_LED_IS_ACTIVE_LOW)
135 #if defined(FEEDBACK_LED_IS_ACTIVE_LOW)
167 #endif // _IR_FEEDBACK_LED_HPP
void setLEDFeedbackPin(uint8_t aFeedbackLEDPin)
void setFeedbackLED(bool aSwitchLedOn)
Flash LED while receiving or sending IR data.
void setBlinkPin(uint8_t aBlinkPin)
Old deprecated function name for setLEDFeedback()
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 FeedbackLEDPin
if USE_DEFAULT_FEEDBACK_LED_PIN / 0xFF, then use digitalWriteFast(LED_BUILTIN,..) otherwise use digit...
bool LedFeedbackEnabled
Disabled for receive at default. Feedback for send is always enabled and can be disabled by NO_LED_SE...
void disableLEDFeedback()
#define DISABLE_LED_FEEDBACK
#define ENABLE_LED_FEEDBACK
void setLEDFeedback(bool aEnableLEDFeedback)
struct FeedbackLEDControlStruct FeedbackLEDControl
The feedback LED control instance.
#define USE_DEFAULT_FEEDBACK_LED_PIN
Main class for receiving IR signals.