Keypad interfacing with pic microcontroller and Mikro C
In this tutorials I will show you how to interfacing matrix keypad with PIC16F877A microcontroller. You can watch the flowing video and read the written tutorial below.
Keypad is set of button. It contain digits,symbols&alphabetical letters. It can be 4x4&4x3. 4x3 it means 3 column and 4 row.
4x4 keypad structue below.
Keypad is set of button. It contain digits,symbols&alphabetical letters. It can be 4x4&4x3. 4x3 it means 3 column and 4 row.
4x4 keypad structue below.
In this tutorial I am use Mikro C pro for PIC Compiler for microcontroller programming.
The mikroC PRO for PIC provides a library for working with 4x4 keypad. The
library routines can also be used with 4x1, 4x2, or 4x3 keypad.
External Dependencies of Keypad Library
Library Routine
- Keypad_Init
- Keypad_Key_Press
- Keypad_Key_Click
Keypad_Init
Keypad_Key_Press
Keypad_Key_Click
Mikro C Code:
download |
No comments