Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

Project Request

Return
Monjur Morshed
himumama11

posted on 2014/04/22 05:19:37 PM CEST

Timers (Real time clock)

Timer1 in Pic16f877a

i need help with using timer in pic16f877a...
i need a code,,,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