Exemple #1
0
void IRsend::space(int time) {
  // Sends an IR space (no output) for the specified number of microseconds.
    analogWrite2 (irPin,0);
    My_delay_uSecs(time);
}
Exemple #2
0
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);

}
Exemple #3
0
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;
}
Exemple #5
0
void IRsendBase::mark(unsigned int time) {
 TIMER_ENABLE_PWM;
 My_delay_uSecs(time);
 Extent+=time;
}