Skip to content

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

Open
Fran-B wants to merge 3 commits intoPaulStoffregen:masterfrom
Fran-B:master
Open

Adding 'send' capability along with ability to determine send/receive state.#13
Fran-B wants to merge 3 commits intoPaulStoffregen:masterfrom
Fran-B:master

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