Mikroc – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 202

Advertising
background image

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

Advertising
This manual is related to the following products: