Skip to content

Allow "reading" all 4 button values at once #10

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
EAGrahamJr opened this issue Jun 17, 2023 · 0 comments · Fixed by #11
Closed

Allow "reading" all 4 button values at once #10

EAGrahamJr opened this issue Jun 17, 2023 · 0 comments · Fixed by #11

Comments

@EAGrahamJr
Copy link
Contributor

The underlying Seesaw class has "bulk reads" for digital outputs, which can be exposed in a more useful manner in this class, instead of invoking the method with the "private" values and/or knowledge of the Seesaw pins.

Proposed method would be something like

def read():
    """Returns an array of boolean (True/False) indicating the state of all the keys"""
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

Successfully merging a pull request may close this issue.

1 participant