Microcontroller › 8051 › 7 segment with 8051 using interrupt › you have not specified which
February 19, 2014 at 4:52 am
#11056
Participant
you have not specified which interrupt you want to use
in your program you are enabling external interrupt 0 but your ISR is for timer 0 interrupt (interrupt 1 keyword is for timer 0 interrupt)
also you have not enabled globle interrupt
use IE = 0x81 to enable external interrupt 0
and IE = 0x82 to enable timer 0 overflow interrupt