Explain & How Use Keypad Library MicroC and Interfacing PIC
0.0 (0 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2 students enrolled

Explain & How Use Keypad Library MicroC and Interfacing PIC

Explain and use Keypad Library With PIC Microcontroller
0.0 (0 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2 students enrolled
Created by Bilal Zeyada
Last updated 5/2019
English
Current price: $139.99 Original price: $199.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 34 mins on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Connect Keypad With Pic MicroController
Requirements
  • MikroC Program
  • Proteus Program
Description

Keypad Library

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. For connections explanation see schematic at the bottom of this page.

External dependencies of Keypad Library

The following variable must be defined in all projects using Keypad Library:Description :Example : extern sfr char keypadPort;Keypad Port.  char keypadPort at PORTD;

Library Routines

  • Keypad_Init

  • Keypad_Key_Press

  • Keypad_Key_Click


Keypad_Init

Initializes port for working with keypad.


Keypad_Key_Press

Reads the key from keypad when key gets pressed.


Keypad_Key_Click

Call to Keypad_Key_Click is a blocking call: the function waits until some key is pressed and released. When released, the function returns 1 to 16, depending on the key. If more than one key is pressed simultaneously the function will wait until all pressed keys are released. After that the function will return the code of the first pressed key.


Who this course is for:
  • Any Person Using Keypad In Projects
  • Students
  • Love Electronics
  • Geeks Electronics
Course content
Expand 12 lectures 34:25
+ Keypad Library
12 lectures 34:25
5- Explain Keypad_Key_Press() Routine
01:50
6- Explain Keypad_Key_Click() Routine
01:30
7- Write For Example Part 1
04:29
9- Write For Example Part 3
03:44
10- Make Design Project on Proteus Part 1
02:40
11- Make Design Project on Proteus Part 2
05:57
12- finish The Project
02:27