文件名称:KBD_RDCHR
介绍说明--下载内容来自于网络,使用问题请自行百度
The function kbd_rdchr() does not riqueres interrupts or timers. Just call it when your program needs to read a key, it also does not queue those keys in any way. This function handles a 3x4 matrix keyboard conected at port defined as "kdb_port"
kdb_port pins from 7 to 4 manages col from 1 to 3
kdb_port pins from 3 to 0 manages row (also lines) from 1 to 4. It is possible to deal with a 4x4 matrix keyboard just changing "kdb_cnt_col" variable value from 3 to 4.
Manoel Gomes de Andrade
andrade.manoel(AT)gmail.com
kdb_port pins from 7 to 4 manages col from 1 to 3
kdb_port pins from 3 to 0 manages row (also lines) from 1 to 4. It is possible to deal with a 4x4 matrix keyboard just changing "kdb_cnt_col" variable value from 3 to 4.
Manoel Gomes de Andrade
andrade.manoel(AT)gmail.com
相关搜索: Key matrix
(系统自动生成,下载前可以参看下载内容)
下载文件列表
readme.txt
kbd_rdchr.c
kbd_rdchr.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.