int8_t dutycycle_t
Type for duty cycle in percent.
uint16_t microseconds_t
Type for durations in micro seconds.
uint32_t frequency_t
Type for modulation frequency in Hz.
uint8_t pin_t
Type for GPIO pin, compatible with Arduino libs.
static constexpr dutycycle_t defaultDutyCycle
Default duty cycle to use.
Sending function using timer PWM.
microseconds_t periodTime
virtual void sleepMicros(microseconds_t us)=0
virtual void sleepUntilMicros(uint32_t terminateTime)=0
microseconds_t periodOnTime
microseconds_t periodOffTime
void enable(frequency_t hz, dutycycle_t dutyCycle=Board::defaultDutyCycle)
void sendMark(microseconds_t time)
static constexpr unsigned int PULSE_CORRECTION
virtual ~IrSenderPwmSoft()
Sending function using timer PWM.