Currently I'm using PIC16F876 counter to
do timer function for 1 sec, and I set the
decrement number as 76.
So, If I want a timer to count for 1ms only
how should I solve it? Using 0.076 instead
of 76?
Regards: Einly _________________ Einly
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
Posted: Wed Apr 06, 2005 3:35 am
No.
Use the datasheet to calculate exactly what you need to load the timer with to achieve 1ms. It highly depends on your crystal speed.
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Wed Apr 06, 2005 4:05 am
Just a few hours before your post Newguy started a new thread in which he explains all the details on how to set the timers. Try reading it.
Timers - what you should know.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum