Hello,
I am totally new to PICS and would like to create a time delay of between 5 or 10 seconds. Obviously with a clock speed of 3MHz a simple count is a big number. I am aware that the clock can be prescaled to give a 1:256 ratio meaning the count would be substantially less. The only problem is I do not know how to write the code for this. The PIC is 16F84A. Can anyone help??
Prescaling the clock and creating a time delay
-
- Posts: 4
- Joined: Tue Nov 27, 2007 10:24 am
- Contact:
-
- Posts: 114
- Joined: Fri Jul 27, 2007 10:50 am
- Been thanked: 1 time
- Contact:
Time Delay
I think you also posted the same request in the C, ASM forum. Its very bad manners to post the same thing in two forums. See answers in the other forum
-
- Posts: 4
- Joined: Tue Nov 27, 2007 10:24 am
- Contact:
-
- Posts: 114
- Joined: Fri Jul 27, 2007 10:50 am
- Been thanked: 1 time
- Contact:
Timing delays in Assembler.
If C is no help then I assume you are using Assembler. In which case download and install PicLoops as per the thread in the other forum.
Keith
Keith