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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/03/02 17:00
Read: times


 
#33680 - It worked before, but it doesn't now
I have used Timer2 interrupt before. but I tried to use the same method to do it, it stop working. what's the problem of my code?

mov t2con, #00h
....
setb ie2.0 ;set ET2
setb ea
.....

setb tr2
mov th2,#HIGH
mov tl2,#LOW

I am using p89c668, the vector address of Timer2 is 3Bh...

The problem is Timer2 ISR is not started.

Thanks.

Frank




List of 3 messages in thread
TopicAuthorDate
It worked before, but it doesn't now            01/01/70 00:00      
RE: It worked before, but it doesn't now            01/01/70 00:00      
RE: It worked before, but it doesn't now            01/01/70 00:00      

Back to Subject List