예제 #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);
}
예제 #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);

}
예제 #3
0
파일: IRLib.cpp 프로젝트: AlfredSch/Arduino
void IRsendBase::space(unsigned int time) {
 TIMER_DISABLE_PWM;
 My_delay_uSecs(time);
 Extent+=time;
}
예제 #4
0
void IRsendBase::space(unsigned int time) {
 IR_SEND_PWM_STOP;
 My_delay_uSecs(time);
 Extent+=time;
}
예제 #5
0
파일: IRLib.cpp 프로젝트: AlfredSch/Arduino
void IRsendBase::mark(unsigned int time) {
 TIMER_ENABLE_PWM;
 My_delay_uSecs(time);
 Extent+=time;
}