Quantcast
Channel: Microcontrollers, Programming and IoT
Viewing all articles
Browse latest Browse all 1271

Switch button reading function

$
0
0
Hello Everyone
I want to learn keypad interfacing programming. I am starting with very simple example. suppose keypad is made by arranging four push button. Than I have to find out which one switch has been pressed and how many time it has been pressed. how do we read the inputs of four buttons?
Embedded c , 8051 and Four Push buttons
Code:
void keypad_reading ()
{
 // logic //
}
before going to write program, I want to understand logic. how do we read the inputs of four buttons...

Switch button reading function

Viewing all articles
Browse latest Browse all 1271

Trending Articles