Skip to content

Define boolean IO Protocol #15

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

Closed
tekktrik opened this issue May 3, 2022 · 0 comments · Fixed by #18
Closed

Define boolean IO Protocol #15

tekktrik opened this issue May 3, 2022 · 0 comments · Fixed by #18
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tekktrik
Copy link
Member

tekktrik commented May 3, 2022

Based on type annotating adafruit_debouncer, it may be helpful to add an Input and Output and InputOutput protocol definining getters/setters for value, similar to how @Neradoc explains:

adafruit/Adafruit_CircuitPython_Debouncer#39 (comment)

@tekktrik tekktrik added enhancement New feature or request good first issue Good for newcomers labels May 3, 2022
@tekktrik tekktrik changed the title Define truthyio Protocol Define boolean IO Protocol May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant