Microcontroller Matrix Keyboard - 8051 - SDCC
Submitted By:
andrade.manoel
Rating:
(Not rated) (
Rate It)
"C" function kbd_rdchr() for SDCC 8051
microcontroller. It 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 definde 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."
File Details
NOTE: Some downloads must be obtained through publishers´s site.
Do you want to get your software listed on this site? Go to our
submissions area.
Screenshot
Details
File Name:
F:\eletrica\tecl_mat2a.c
Comments (0)
Add Your Rating