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.

Programming TMR0 Interrupt in PICBasic

Status
Not open for further replies.

emavil

Member level 2
Joined
Oct 18, 2005
Messages
53
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,738
Hi. I really had a hard time understanding the TMR0 interrupt of PIC16F84A (4MHz crystal). I'm using PICBasic. Is there anyone who could give just a simple demonstration on how to program interrupts, including the prescaler configurations. I'm building a simple digital clock with 6 CA 7-segment displays, with 3 buttons. I'm very much curious about the accuracy of the clock, especially the 1 second generation. What is the right refresh rate of the 7-segments? Which part of the program do I have to process the incrementing of seconds, minutes & hours.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top