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

Adding 'send' capability along with ability to determine send/receive state. #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Fran-B
Copy link

@Fran-B Fran-B commented Jan 5, 2018

I added a public method to send a byte of information to the keyboard and wait for the response byte returned. The logic includes timeout protection and response status relative to said timeouts.
While debugging things I ran into a problem and found it useful to be able to get the state of the keyboard I/O logic so I allowed the method I created to remain for future use.

…g one bug. Also added a 'getState' method to help with debugging.
… signal (interrupt) and to wait for, and return, response code from keyboard.
@Fran-B
Copy link
Author

Fran-B commented Jan 6, 2018

I forgot to mention my thanks to Peter Hanlon pphanlon@bigpond.net.au for his June 2016 implementation that I used as the starting point for this implementation.

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 this pull request may close these issues.

1 participant