The 16 key matrix switches (SW5 to SW20) are placed in the 4×4-key matrix layout on the board. These switches control the outputs at port G based on the information from the keys that were pressed, ...