With 8051 Microcontroller, button that connected to P3_2. when I do:
if(P3_2==1){ //One pressed button
//** Some LCD functions**//
}
all good!
My thing is I want to get some others function when I 'Double Press' the button, But I don't know what is the code for
if(/*Perform double press*/){
//** Some others LCD functions**//
}
of course I use C code language for 8051. any idea? What is the code for the second if?