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

As an end-user, I want to know how long a certain input change took #11

Open
mhemeryck opened this issue Aug 28, 2018 · 1 comment
Open

Comments

@mhemeryck
Copy link
Owner

Basically the duration a digital input was in a given state.

For the unipi setup, the debouncing is already handled at the lower HW level.

An interesting use case for this would be to use the duration to control a dimmer setting on a light.

@mhemeryck
Copy link
Owner Author

This might not really be required since:

  • light switch: this is really only for the case where you would use it for light switches
  • unipi setup: it already has separate registers that hold and return this value -- no need to calculate it yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant