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

Consider adding DigitalOutputState event to track pulse mode falling edges #17

Open
bruno-f-cruz opened this issue Jan 4, 2024 · 0 comments
Assignees
Labels
feature New planned feature

Comments

@bruno-f-cruz
Copy link
Member

If an output is set to pulse mode, the onset of the pulse can be timestamped using the write of the OutputSet register. However, there is currently no way to recover the precise event of when the falling edge occurred. It might be interesting to find a way to report this information. I propose co-opting the existing DigitalOutputState and additionally make it an event that behaves identically to DigitalInputState (ie emits a message on any pin change). This event might be omitted on writes to the same register.

@bruno-f-cruz bruno-f-cruz added the feature New planned feature label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New planned feature
Projects
None yet
Development

No branches or pull requests

2 participants