Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/24/07 10:09
Read: times


 
#135755 - more information
Responding to: ???'s previous message
void ex0_isr (void) interrupt 0
{
	keyboard_data = data_table[counter];
	lcd_data('B');
	counter++;
	IT0 = 1;

}


This part is the my code's interrupt part which detects the falling edge. Keyboard clock generates 11 falling edge when pressing the button. I test my interrupt with lcd, when interrupt occurs, I write B to the LCD screen, my interrupt just write 6 'B' to the lcd screen. Hovewer, we are waiting 11 'B'. I cant solve the problem, how can I solve ?

List of 13 messages in thread
TopicAuthorDate
catching the keyboard clock pulses            01/01/70 00:00      
   More information            01/01/70 00:00      
   more information            01/01/70 00:00      
      Too long in the ISR??            01/01/70 00:00      
         short ISR            01/01/70 00:00      
            Serial data            01/01/70 00:00      
               clock rate            01/01/70 00:00      
                  better, but not good enough            01/01/70 00:00      
                     keyboard clock & system clock            01/01/70 00:00      
                        Inefficient code!            01/01/70 00:00      
   send an e-mail to            01/01/70 00:00      
      And many, many more            01/01/70 00:00      
      AN434 code            01/01/70 00:00      

Back to Subject List