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
before going to write program, I want to understand logic. how do we read the inputs of four buttons...
Switch button reading function
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 // }
Switch button reading function