ABL electronic PIC18 Benutzerhandbuch

Seite von 312
mikroC - C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
194
MikroElektronika:  Development  tools  -  Books  -  Compilers
page
Prototype
unsigned 
Keypad_Released(void);
Returns
1..16, depending on the key.
Description
Call to 
Keypad_Released
is a blocking call: function waits until any key is pressed
and released. When released, function returns 1 to 16, depending on the key.
Requires
Port needs to be appropriately initialized; see 
Keypad_Init
.
Example
kp = Keypad_Released();
Keypad_Released