Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nec: increase tolerances for bit pulses (#107)
The default 5% tolerance on the low bit pulses only ends up with a 56us slack. With the combination of a sloppy/cheap remote and a micro running at a low frequency (attiny @ 1hmz) it's quite easy to not recognize a pulse. Looking at the implementation in linux, that uses a margin of half a unit (560us), while also tracking both the low and high pulses. Up the tolerances to be roughly half a unit, which makes the recognition of signals much more reliable.
- Loading branch information