IRremote
Feedback LED functions

Classes

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

Functions

void setLEDFeedbackPin (uint8_t aFeedbackLEDPin)
 
void setLEDFeedback (bool aEnableLEDFeedback)
 
void enableLEDFeedback ()
 
void disableLEDFeedback ()
 
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 141 of file IRFeedbackLED.hpp.

◆ disableLEDFeedback()

void disableLEDFeedback ( )

Definition at line 70 of file IRFeedbackLED.hpp.

◆ enableLEDFeedback()

void enableLEDFeedback ( )

Definition at line 67 of file IRFeedbackLED.hpp.

◆ setBlinkPin()

void setBlinkPin ( uint8_t  aBlinkPin)

Old deprecated function name for setLEDFeedback()

Definition at line 147 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 USE_DEFAULT_FEEDBACK_LED_PIN / 0 value of FeedbackLEDPin and the macro FEEDBACK_LED_IS_ACTIVE_LOW. If FeedbackLEDPin == USE_DEFAULT_FEEDBACK_LED_PIN and LED_BUILTIN is NOT defined no action is done

Definition at line 82 of file IRFeedbackLED.hpp.

◆ setLEDFeedback()

void setLEDFeedback ( bool  aEnableLEDFeedback)

Definition at line 60 of file IRFeedbackLED.hpp.

◆ setLEDFeedbackPin()

void setLEDFeedbackPin ( uint8_t  aFeedbackLEDPin)
Parameters
aFeedbackLEDPinIf FeedbackLEDPin != USE_DEFAULT_FEEDBACK_LED_PIN / 0, then use digitalWrite(FeedbackLEDPin,..) If FeedbackLEDPin == USE_DEFAULT_FEEDBACK_LED_PIN / 0 and no LED_BUILTIN defined, disable LED feedback

Definition at line 53 of file IRFeedbackLED.hpp.

Variable Documentation

◆ FeedbackLEDControl

struct FeedbackLEDControlStruct FeedbackLEDControl

The feedback LED control instance.

Definition at line 1 of file IRFeedbackLED.hpp.