I have a project to take a 4x4 keypad and when a key is pressed the make/ break codes for some specific PS2 keyboard letters and functions are generated.
After being overwhelmed by the thought of writing code that scans rows and coumns I have decided to use the 74C922 and interfcae that to a 16F88.
My question; what is a good reference source that would assist me in writing the code to take the 4 bit binary output from the 74C922 and generate the ASCII Make and Break codes to simulate a PS2 keyboard for 16 specific letters/functions?
I have been looking at various textbooks and have been overwhelmed. I need something that explains storing the 4 bit binary data, reading the binary data and calling a sub-routine to generate the make and break codes. Explaining functions such as RTLW, Read Data, move to register etc. would be extremely helpful
I know the output matrix for the74C922, and the scan codes for the make and break hex code for the 16 keys I want.
Have looked at similar resources on the forum but am looking for something that would guide me to be able to understand the arcane codes and logic sequence.
Any suggestions would be helpful.
radioguy90
After being overwhelmed by the thought of writing code that scans rows and coumns I have decided to use the 74C922 and interfcae that to a 16F88.
My question; what is a good reference source that would assist me in writing the code to take the 4 bit binary output from the 74C922 and generate the ASCII Make and Break codes to simulate a PS2 keyboard for 16 specific letters/functions?
I have been looking at various textbooks and have been overwhelmed. I need something that explains storing the 4 bit binary data, reading the binary data and calling a sub-routine to generate the make and break codes. Explaining functions such as RTLW, Read Data, move to register etc. would be extremely helpful
I know the output matrix for the74C922, and the scan codes for the make and break hex code for the 16 keys I want.
Have looked at similar resources on the forum but am looking for something that would guide me to be able to understand the arcane codes and logic sequence.
Any suggestions would be helpful.
radioguy90