文件名称:KBD_RDCHR
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- man***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
readme.txt
kbd_rdchr.c
kbd_rdchr.c