#include <InfraredLight.h>
Definition at line 18 of file InfraredLight.h.
◆ InfraredLED()
InfraredLED::InfraredLED |
( |
uint8_t |
pin, |
|
|
ledc_timer_t |
timer, |
|
|
ledc_channel_t |
channel |
|
) |
| |
◆ begin()
void InfraredLED::begin |
( |
void |
| ) |
|
◆ sendFrequency()
void InfraredLED::sendFrequency |
( |
uint16_t |
frequency | ) |
|
starts flashing the IRLed with a specific frequency Won't stop automatically, must be stopped by calling any other IR-Method
- Parameters
-
Definition at line 53 of file InfraredLED.cpp.
◆ setState()
void InfraredLED::setState |
( |
bool |
state | ) |
|
changes state of selected LED depending on the state
- Parameters
-
led | which led will be affected |
state | true if led should be turned on, else false |
Definition at line 42 of file InfraredLED.cpp.
◆ turnOff()
void InfraredLED::turnOff |
( |
void |
| ) |
|
◆ turnOn()
void InfraredLED::turnOn |
( |
void |
| ) |
|
◆ channel
ledc_channel_t InfraredLED::channel |
|
protected |
◆ ledPin
uint8_t InfraredLED::ledPin |
|
protected |
◆ pwmChannel
ledc_channel_config_t InfraredLED::pwmChannel |
|
protected |
◆ pwmTimer
ledc_timer_config_t InfraredLED::pwmTimer |
|
protected |
◆ timer
ledc_timer_t InfraredLED::timer |
|
protected |
The documentation for this class was generated from the following files: