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.

How to put 2 sec time in timer module of PIC18F452?

Status
Not open for further replies.

ful babu

Full Member level 3
Joined
Nov 11, 2004
Messages
174
Helped
13
Reputation
26
Reaction score
3
Trophy points
1,298
Location
Singapore
Activity points
1,634
18F TIMER module

i want to put a 2sec time in timer module of PIC18F452 , can any one help ?

thx
 

Re: 18F TIMER module

I often use Timer 2 to generate 1.0-msec interrupts and then count-off 1,000 of these 1.0-msec 'ticks' in the interrupt routine for a 1.0-second timer function... Could somthing like this work for you?

Regards, Mike
 

Re: 18F TIMER module

Mike said:
I often use Timer 2 to generate 1.0-msec interrupts and then count-off 1,000 of these 1.0-usec 'ticks' in the interrupt routine for a 1.0-second timer function...

i guess in ur process mcu hav to be bz while counting, but i need a hardware bakground process which will interrupt me at 2 sec, plz correct me if i am wrong

thx
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top