55 unsigned long start = micros();
56 unsigned long stop = start + time;
63 unsigned long now = micros();
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.
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)
IrSenderPwmSoft(pin_t outputPin)
Sending function using timer PWM.