Hi Mark, and thanks!
Yes there is.Is there a TimerConst that work with osc @ 48 MHZ ?
In 2003 I hadn't heard of a 48mhz pic
Hmmm, let's see here,
pulling up mister_e's PicMultiCalc ... (Timer Helper page)
http://www.picbasic.co.uk/forum/atta...achmentid=2957
and ... uht oh, with the existing timer load routine, the best we can do is 99.999hz. Not so good for a long-term timer.
But not a problem, increasing the timer reload time to 10 instructions (add 3 nop's), with a Timer1 prescaler of 2, the reload value is 5541.
I'm sure that will elicit more questions, but I'll let you give it a go first.
<br>
Bookmarks