Works Fine with 4Megs Xtal But :-
Surely no error is better than 0.16% error... Plus I learn more by experimentation and help !!
HW guy in a SW world !!
Works Fine with 4Megs Xtal But :-
Surely no error is better than 0.16% error... Plus I learn more by experimentation and help !!
HW guy in a SW world !!
Yes, of course, I meant to write PAUSE 1000 but a zero must have fallen off at the end there, sorry about that and thank you for pointing it out. Of course, I'm not allowed to edit my own post, stupid rules I still don't understand.Agreed, but with this comment "everything times 0.9216, a PAUSE 100 becomes PAUSE 922.", don't you mean PAUSE 100 becomes PAUSE 92?
Although 0% error is indeed better than 0.16% error, 0.16% error is, in this case, really not much. personally I wouldn't worry about it.
If the chip you're using has the EUSART then going to 16MHz will allow you to get -0.08%, 20MHz -0.03% and 24MHz will put you right on the number - all these clock frequencies are supported by PBP.
/Henrik.
Hi Henrik
I drop 0's all the time or add them... don't worry :-)
The chip I am using is the 16f688 so will go to 20Mhz no problem....I will just do that I think. keeps the pauses etc easier to understand.
Thank you for help everyone
Appreciated !
Bookmarks