Replies: 2 comments 2 replies
-
Sorry, I messed up the terms, the paragraph (from README.md) should read
(I managed to used "space" in the sense of on-period... shame on me...) IRremote's Why a final ending off-period? (For example, Lirc leaves it out, and even the post-Lirc Linux IR stuff does it that way). It is more consequent and logical to tread the final silence as part of the signal. You cannot send a subsequent signal too early that way. Having a "minimal gap between subsequent sends"- variable instead has a few shortcomings: Some signals (like NEC1) have a constant length (in ms), but sending different payloads take different amount of time (a 1 takes twice as long as a 0). Also, the initial sequence is much longer than the repeats, all which the sending program has to take into account. It leads to messy code. Note that the timing issue is not just "you are prohibited to send until...", but the timing has to be reasonable correct for, for example, a repeated volume up to be recognized as such.
The measured final off-period on receiving is of course not the corresponding parameter of the sending program ;-). Instead, it is the amount of |
Beta Was this translation helpful? Give feedback.
-
Can you point me to the code? IMHO, identifying a repeat is a complicated task that is well beyond the capacities of an ATMega328. It is better done in a program running on a larger computer, like IrScrutinizer/IrpTransmogrifier (class RepeatFinder).
Sort-of, it should not be smaller, but may be slightly longer. |
Beta Was this translation helpful? Give feedback.
-
Hi Bengt, I just want to understand.
What is the difference between your starting space and rawbuf[0]?
Is the gap the minimal gap between two sends? and what is the gap value on receiving?
Beta Was this translation helpful? Give feedback.
All reactions