30void inline IrSenderPwmSoftDelay::sleepUntilMicros(uint32_t targetTime) {
31 int32_t time = targetTime - micros();
35 int32_t rest = targetTime - micros();
37 ::delayMicroseconds(rest);
uint16_t microseconds_t
Type for durations in micro seconds.
uint8_t pin_t
Type for GPIO pin, compatible with Arduino libs.
static void delayMicroseconds(microseconds_t)
Version of delayMicroseconds able to grok more than 16383 micros.
IrSenderPwmSoftDelay(pin_t outpitPin)
Sending function using timer PWM.