Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Timer contents then restarted after a stop.

Status
Not open for further replies.

shubham kumar

Member level 3
Member level 3
Joined
Sep 11, 2014
Messages
59
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Location
bangalore
Visit site
Activity points
511
Hi
I am using PIC18F452 and MikroC as compiler.

I have a question regarding timer.
That if the timer is started using command TMR1ON_bit=1; then if I stop the timer ( TMR1ON_bit=0) and again start the timer (TMR1ON_bit=1) then the timer will start from the value it contains at the time it was stopped or it will start from the default value which was assigned to TMRH and TMRL at the time of initialization.

PS: I tried to see the values on LCD but realized later that LCD (or any) commands itself take some time, so unable to watch via programming :bang: .
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top