-
Notifications
You must be signed in to change notification settings - Fork 836
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
decodeCOOLIX()
code & add another test case. (#1750)
* Remove the old auto scaling version of the code. It made it harder to diagnose problems. * Use `decodeGeneric()` as much as we can, and decode in whole 8-bit chuncks at a time. * Try to make the code more understandable and smaller. * Standardise on the same extra tolerance for Coolix protocols. * Add a unit test to confirm the library now matches the provided example that was previously slight out of tolerance. Fixes #1748
- Loading branch information
1 parent
f8e5662
commit c5b36c8
Showing
2 changed files
with
61 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters