NEC Timings in IRremote

Everything related to protocols and IR codes
Post Reply
User avatar
AnalysIR
Site Admin
Posts: 776
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

NEC Timings in IRremote

Post by AnalysIR »

During our phase-1 rollout of AnalysIR, we encountered an issue decoding NEC signals transmitted from IRremote. After lots of head scratching we finally found that one of the definitions in IRremote for NEC is too low. This issue has been reported on the IRremote blog a couple of years ago, but the code has not been updated, yet.

The issue has since been reported to IRremote for correction:
https://github.com/shirriff/Arduino-IRremote/issues/41

In summary, #define NEC_ONE_SPACE 1600 should be: #define NEC_ONE_SPACE 1692

(Actually, we use 1690 in AnaysIR, but what's 2 microseconds between friends [unless you are at the limit :D ] )

It was a great validation of a tool like AnalysIR.
Post Reply