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.

Print ascii code on lcd

Status
Not open for further replies.
i think we will discuss this one later.... i will try run some timer code and understand how it working....

I guess you know that Timer1 will not be able to count directly upto 5 Seconds.

At 1uSec clock, its a 16bit counter [ 65536 decimal] so thats 0.065536 seconds] , if you used the 1:8 prescaler that becomes 0.524288 Seconds.

So what you need to do, is use the Timer1 interrupt , set say at 0.5secs [ or close] and count 10 of these interrupts...OK?
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top