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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/05/02 06:26
Read: times


 
#23925 - problem with counter?
dear friends

i have connected a switch to pin p3.4.
my aim is to generate a high to low transisition on pin p3.4.
i have configared timer0 as a counter by asseing c/t=1.my aim is when ever i give a pulse through the switch on counter pin
i have to count the pulse and display ing them on lcd.
i have writen my code like this
mov tmod,#06
lcd intialization routine
setb tr0
mov a,tl0
mov p1,a
but count pulse is not incrementing eventhougt i am sending my pulse through the switch
kindly suggest if there are any other register has to be set or any thing more
regards
anil


List of 2 messages in thread
TopicAuthorDate
problem with counter?            01/01/70 00:00      
RE: problem with counter?            01/01/70 00:00      

Back to Subject List