Hello guys , the long_click function could not executed even I press the push button for long time ., always short_click function works
anybody advice ?
// ************************************************************//
/* PIC16F88 */
unsigned int volatile counter = 0 ;
bit flag ;
void Interrupt()
{
while (PORTB.F0==0 && INTCON.TMR0IF == 1) {
counter++ ;
INTCON.TMR0IF=0;...
About PIC Timer And Interrupt
anybody advice ?
// ************************************************************//
/* PIC16F88 */
unsigned int volatile counter = 0 ;
bit flag ;
void Interrupt()
{
while (PORTB.F0==0 && INTCON.TMR0IF == 1) {
counter++ ;
INTCON.TMR0IF=0;...
About PIC Timer And Interrupt