-
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.
Remove the use of USECPERTICKs from the library. (#287)
* Remove the use of USECPERTICKs from the library. Store and measure everything in usecs to similify things and improve timing accuracy. Reduce excess to 50us from 100us. Adjustments to RC-MM decoding to handle small measurements better. Remove calcTick(s) as it is pretty redundant now. * Re-add a tick of-sorts. Allow for longer capture times. - Turns out there are some protocols out there that have >65ms gaps in their protocols, so we should support that. Make the tick factor a nice power of 2 for simplicty. Allows upto 130ms gap to be captured. - Handly converting of the capture buffer into a sendRaw() compatible array. i.e. max values are UINT16_MAX, but the usecs due to the tick factor can be much larger than can be stored. Thus use a '0' encoding to glue these records togther instead of making the array data type bigger.
- Loading branch information
1 parent
af1d2a8
commit 8dd05c0
Showing
21 changed files
with
146 additions
and
151 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
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
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
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
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
Oops, something went wrong.