Timer1 in Pic16f877a

Status
Not open for further replies.

himumama11

Newbie level 1
Joined
Dec 3, 2012
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,280
Activity points
1,292
i need help with using timer in pic16f877a...
i'm looking for a code( mikro c pro 5.6.1),,,like...

when
AN0=1
timer 1 & timer 2 starts

then when
AN1=1
timer 2 stops

again when
AN0=0
timer 1 stops

then
timer 1= ?
timer 2= ?

i tried hard as a newbie...but failed.
any suggestion will be great help.............Regards
 

thnx,,,bro
but i need more specified conditional statement as i mentioned above...
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…