IRremote
Feedback LED functions

Classes

struct  FeedbackLEDControlStruct
 Contains pin number and enable status of the feedback LED. More...
 

Functions

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 disable it here!!! Use disableLEDFeedbackForReceive() or disableLEDFeedbackForSend() More...
 
void setLEDFeedback (bool aEnableLEDFeedback)
 
void enableLEDFeedback ()
 
void disableLEDFeedback ()
 
void enableLEDFeedbackForSend ()
 
void disableLEDFeedbackForSend ()
 
void setFeedbackLED (bool aSwitchLedOn)
 Flash LED while receiving or sending IR data. More...
 
void setBlinkPin (uint8_t aBlinkPin)
 Old deprecated function name for setLEDFeedback() More...
 
void IRrecv::blink13 (uint8_t aEnableLEDFeedback) __attribute__((deprecated("Please use setLEDFeedback() or enableLEDFeedback() / disableLEDFeedback().")))
 Old deprecated function name for setLEDFeedback() or enableLEDFeedback() / disableLEDFeedback() More...
 

Variables

struct FeedbackLEDControlStruct FeedbackLEDControl
 The feedback LED control instance. More...
 

Detailed Description

Function Documentation

◆ blink13()

void IRrecv::blink13 ( uint8_t  aEnableLEDFeedback)

Old deprecated function name for setLEDFeedback() or enableLEDFeedback() / disableLEDFeedback()

Definition at line 147 of file IRFeedbackLED.hpp.

◆ disableLEDFeedback()

void disableLEDFeedback ( )

Definition at line 89 of file IRFeedbackLED.hpp.

◆ disableLEDFeedbackForSend()

void disableLEDFeedbackForSend ( )

Definition at line 97 of file IRFeedbackLED.hpp.

◆ enableLEDFeedback()

void enableLEDFeedback ( )

Definition at line 85 of file IRFeedbackLED.hpp.

◆ enableLEDFeedbackForSend()

void enableLEDFeedbackForSend ( )

Definition at line 93 of file IRFeedbackLED.hpp.

◆ setBlinkPin()

void setBlinkPin ( uint8_t  aBlinkPin)

Old deprecated function name for setLEDFeedback()

Definition at line 153 of file IRFeedbackLED.hpp.

◆ setFeedbackLED()

void setFeedbackLED ( bool  aSwitchLedOn)

Flash LED while receiving or sending IR data.

Does not check if enabled, this must be done by the caller. Handles the 0 value of FeedbackLEDPin and the macro FEEDBACK_LED_IS_ACTIVE_LOW.

Definition at line 108 of file IRFeedbackLED.hpp.

◆ setLEDFeedback() [1/2]

void setLEDFeedback ( bool  aEnableLEDFeedback)

Definition at line 77 of file IRFeedbackLED.hpp.

◆ setLEDFeedback() [2/2]

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 disable it here!!! Use disableLEDFeedbackForReceive() or disableLEDFeedbackForSend()

Parameters
aFeedbackLEDPinIf aFeedbackLEDPin == 0, then take board specific FEEDBACK_LED_ON() and FEEDBACK_LED_ON() and FEEDBACK_LED_OFF() functions If FeedbackLEDPin == 0 and no LED_BUILTIN defined, disable LED feedback
aEnableLEDFeedbackIf LED_FEEDBACK_ENABLED_FOR_RECEIVE or LED_FEEDBACK_ENABLED_FOR_SEND -> enable blinking of Feedback LED

Definition at line 56 of file IRFeedbackLED.hpp.

Variable Documentation

◆ FeedbackLEDControl

struct FeedbackLEDControlStruct FeedbackLEDControl

The feedback LED control instance.

Definition at line 1 of file IRFeedbackLED.hpp.