Apr 23, 2014 #1 H 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
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
Apr 23, 2014 #2 H horace1 Advanced Member level 5 Joined Nov 18, 2008 Messages 2,118 Helped 596 Reputation 1,188 Reaction score 571 Trophy points 1,393 Location Norwich, UK Activity points 13,063 have a look at this PIC16 timer tutorial https://www.microcontrollerboard.com/pic-timer0-tutorial.html
have a look at this PIC16 timer tutorial https://www.microcontrollerboard.com/pic-timer0-tutorial.html
Apr 23, 2014 #3 H 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 thnx,,,bro but i need more specified conditional statement as i mentioned above...