Home › Forums › Microcontrollers › PIC Microcontroller › PIC16F877A PUSH BUTTON › Reply To: PIC16F877A PUSH BUTTON
January 28, 2015 at 10:40 am
#10626
Keymaster
If you want fast incrementing, use like this.
if(button pressed)
{
__delay_ms(250);
while(still button pressed)
{
//Increment variable here
}
}
