void IRsend::space(int time) { // Sends an IR space (no output) for the specified number of microseconds. analogWrite2 (irPin,0); My_delay_uSecs(time); }
void IRsend::mark(int time) { // Sends an IR mark (frequency burst output) for the specified number of microseconds. analogWrite2 (irPin,128); My_delay_uSecs(time); }
void IRsendBase::space(unsigned int time) { TIMER_DISABLE_PWM; My_delay_uSecs(time); Extent+=time; }
void IRsendBase::space(unsigned int time) { IR_SEND_PWM_STOP; My_delay_uSecs(time); Extent+=time; }
void IRsendBase::mark(unsigned int time) { TIMER_ENABLE_PWM; My_delay_uSecs(time); Extent+=time; }