Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

cascade Timers on pic 16f877

Status
Not open for further replies.

vheerdg

New Member
Can any one tell me how to cascade the timers to form a minute or hour timer I know how to activate them. Can anyone please help............. THANKS:confused:
 
Just use a timer to create a regular interrupt (timer2 is probably the easiest), say every 10mS, then increment counters in software every interrupt.

It's a standard technique, and has been for decades.
 
Nigel i even forgot how to do it lol If i set a 10mS interrupt.. for 1 second i would have to

1000mS(1s) / 10mS Per Interrupt = 100 interrupts to count to 1 second right?
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top