Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the use of USECPERTICKs from the library. #287

Merged
merged 2 commits into from
Aug 4, 2017
Merged

Conversation

crankyoldgit
Copy link
Owner

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.

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.
- 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.
@crankyoldgit
Copy link
Owner Author

Sufficient time has passed. No reviewer comments. Submitting.

@crankyoldgit crankyoldgit merged commit 8dd05c0 into master Aug 4, 2017
@crankyoldgit crankyoldgit deleted the remove_tick branch August 29, 2017 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant