Matt, Why don't you use 1us delay? It is quite unlikely to get timing more accurate than that in a stable, reproducable way on different compiler versions (so: over time). Do you use this delay that often that the difference of less than a us each is noticable?
Joep 2010/10/8 mattschinkel <[email protected]>: >> So, for almost any PIC, talking about a precisely 100nS delay is a waste of >> time. >> >> Vasile > > I know it can not be precise. Neither can 1us delay on a low speed > processor. At some extremely slow speed even a 1sec delay can't be > accurate. > > As Joep mentioned, using "asm nop" is clock dependent. This is why I > would prefer a delay procedure. I would like my library to work in the > future when someday we have much faster processors. > > I'd prefer not to do a blocking 1us delay if I don't have to. Why > would I want to waste 0.9us of my life :) > > Matt. > > -- > You received this message because you are subscribed to the Google Groups > "jallib" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/jallib?hl=en. > > -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
