34 void enable(
unsigned char khz);
static const frequency_t defaultFrequency
static IrSenderPwm * getInstance(boolean create=false)
Returns a pointer to the instance, or NULL if not initialized.
Abstract base class for all sending classes.
uint16_t frequency_t
Type for modulation frequency in Hz.
Sending function using timer PWM.
This class consists of a vector of durations.
static void deleteInstance()
static IrSenderPwm * newInstance()
Creates a new instance (if not existing) and returns it.
void send(const IrSequence &sequence, frequency_t frequency=IrSignal::defaultFrequency)
Sends an IrSequence with the prescribed frequency.