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 generate delay using timer?

Status
Not open for further replies.

Mindy

Newbie level 3
Joined
Nov 19, 2006
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
how to generate delay in c

My project is using PIC 18f4520.
My problem is how to use timer to generate delay and which timer should I use to generate the delay?

Thanks..
 

Which languge do you use?
If you use C18, you can use delay library functions.
 

I'm using C++ language. Is there also need to do some calculations?
Thanks for the reply...
 

Which compiler do you use? C++ is rarely used in programming PIC micros.
You can use Microchip's C18 compiler.It's free and also have lots of library functions.You don't have to deal with calculations.Functions take of them.
 

Sorry...
Here to make the amendment....
The language I using for the project is C language and the compiler I using is MPLAB....
The pic is p18f4520......
My problem is my project requirement is how to use timer to generate delay...

I really need the answer and it's hard to me for search from the website that I couldn't find it...

Thanks for the reply......
:|
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top