Department of Computer Science and Information EngineeringNational Cheng Kung University, TAIWAN
HANEL
KEYBOARD INTERFACING Grounding Rows and Reading Columns(cont’)Flowchart for Program 12-4Start
Ground all rowsRead all columnsAll keysopen?yesno^1
1
Read all columnsAll keys
down?yes
no Wait for debounceRead all columnsAll keys down?^2
yes
no