Transferring Bytes

I have a sketch that reads PS/2 keyboard data and sends it out the serial buss working on my Mega board using pin 21 as the clk interrupt line and pin 8 as data. I need to also output each ascii character received from the keyboard as a byte and send a 50 microsecond pulse out a different pin to announce a valid key is ready. How do you output byte data and to what pins on a Mega?

I have suggested to the Moderator to move your question to the Programming section.

You have not supplied enough information. Please post your program and a photo of a simple pencil drawing that shows how you have everything connected.

A description of the overall project you are trying to create will help us to understand your problem in its proper context.

...R

I need to also output each ascii character received from the keyboard as a byte

Output to where?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.