25 sleepUntilMicros(micros() + us);
28void inline IrSenderPwmSpinWait::sleepUntilMicros(uint32_t targetTime) {
29 while (micros() < targetTime) {
30#if ! defined(ARDUINO) && ! defined(REAL_TIME)
uint16_t microseconds_t
Type for durations in micro seconds.
uint8_t pin_t
Type for GPIO pin, compatible with Arduino libs.
Sending function using timer PWM.
IrSenderPwmSpinWait(pin_t sendPin)