11#ifndef InfraredLight_h
12#define InfraredLight_h
15#include "driver/ledc.h"
InfraredLED(uint8_t pin, ledc_timer_t timer, ledc_channel_t channel)
void turnOn(void)
enables selected LED
ledc_channel_config_t pwmChannel
void turnOff(void)
disables selected LED
void sendFrequency(uint16_t frequency)
starts flashing the IRLed with a specific frequency Won't stop automatically, must be stopped by call...
ledc_timer_config_t pwmTimer
void setState(bool state)
changes state of selected LED depending on the state
static const uint8_t IRFrontPin
static const uint8_t IRBottomPin