Author | Javier Martínez, Copyright (c) 2003, all rights reserved. |
Adapted-by | Eur van Andel, eur@fiwihex.nl |
Compiler | >=2.4g |
This library consist of a single funtion: getkey() that scans a 4x4 matrix keyboard. it needs two variables: keydrive and keyscan.
No dependency found
const col1 = 0b0000_1000
var byte scan0, scan1, scan2, scan3
const row4 = 0b0000_1000
const row1 = 0b0000_0100 -- match these constants to your soldering skills
const col4 = 0b0000_0001
const col2 = 0b0000_0010
const col3 = 0b0000_0100
const row3 = 0b0000_0010
const row2 = 0b0000_0001
const col1 = 0b0000_1000
No documentation found
var byte scan0, scan1, scan2, scan3
No documentation found
const row4 = 0b0000_1000
No documentation found
const row1 = 0b0000_0100 -- match these constants to your soldering skills
No documentation found
const col4 = 0b0000_0001
No documentation found
const col2 = 0b0000_0010
No documentation found
const col3 = 0b0000_0100
No documentation found
const row3 = 0b0000_0010
No documentation found
const row2 = 0b0000_0001
No documentation found
getkey() return byte
No documentation found
sample | 16f876a_keyboard_lcd.jal |
sample | 16f877a_keyboard_lcd.jal |