- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 2kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- gao
Description: This application uses a 4x4 keyboard matrix, giving a total of 16 keys with each key representing a single hexadecimal value as shown in the diagram. The program scans the keyboard matrix to detect which key was pressed and after detection displays on the LED display the corresponding hex code. There are 4 LEDs, so a range of values from 0000 to 1111 can be displayed. During the scanning process, if two keys are pressed simultaneously only the first key scanned will be detected and displayed. By using this method 8 logic lines can control up to 16 switches with required values assigned to each key.
To Search:
File list (Check if you may need any files):
keyboard scanner\keyboard.c
................\keyboard.OPT
................\keyboard.PRJ
keyboard scanner