mikroC

mikroC - C Compiler for Microchip PIC microcontrollers

making it simple...

Keypad_Released

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();

 

 

page

 

194

MikroElektronika: Development tools - Books - Compilers