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

Improve average response time accuracy #1

Open
SeppNel opened this issue May 31, 2024 · 0 comments
Open

Improve average response time accuracy #1

SeppNel opened this issue May 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@SeppNel
Copy link
Owner

SeppNel commented May 31, 2024

Because I check the light sensor like this
image
The response time would be half of the time spent waiting in .write longer than in reallity (Worst case: time spent waiting, Best case: 0, AVG: worst/2)

To improve accuracy I would need to:

  1. Measure avg time waiting
  2. Subtract that from average

Because the poll frequency is not the same between all adapters, I have to do the measurement dynamically.

@SeppNel SeppNel added the enhancement New feature or request label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant