From: Jai Dhar [mailto:jdhar@ENGMAIL.UWATERLOO.CA] >I just want to say that after reading Roman's page, I was thoroughly = impressed >with it!!! Good work Roman :-) > >Simple question though, and I think the answer is obvious. The "zero = long term >error" point is assuming the crystal (or whatever is used) doesn't vary = over >time and acts perfectly, correct? Or does this take that into account? This is correct. You might want to periodically "fudge" the numbers if you want to fine = tune your board for a particular environment(and temperature). This may be = suitable for a "one off", but I doubt you'd want to do this for a production = item. If you need more accuracy, you might have to find an external time = source to make corrections with. There have been many discussions about this on the list, check the archives for more info. As far as I can tell, we haven't seen Roman here for a while. I have a = few more questions about the Black regulator for him. Wherever he is, I wish him well. Lyle >Quoting Hazelwood Lyle : >> >> Anyways, my PIC application will require an accurate 1 second = internal >> >> counter for timing, but does require a system clock speed of = 4-20Mhz. >> > >> >Look in the archives for the thread, "[PIC]: simple one-second = timer". >> >Roman and Bob (Blick, I think it was) came up with a method I have = used in >> >numerous projects. I can post C code for my implementation of it, = but >> >that's in the archives too from a few months ago. >> >> I believe that Roman has also posted some of this on his website. >> http://www.romanblack.com/one_sec.htm >> >> Lyle -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu