Hi Rob, > I'll see what I can do to make it also work for the currently failing > situations!
The original libraries were for 20 MHz but with the delay-routine of the compiler, became delay_any_mc. Seb recalled it should work from 4 MHz up, but it turned out with pretty large deviations Issue 83 has more details on the accuracy and shows accuracy decreases fast below 4 MHz. And even at 4 MHz, delay_10us() has pretty large deviations with lower parameter values. This is what you could expect to achieve if you tune the delay_1ms() for 32kHz clock. Other approaches will give better results. If you intend to work on this, you might want to take a look at the delay project directory. It contains some hacked files that allow to compile delay for a given clock rate, configure the serial port at an other one and measure and report on the actual delay. No production grade code though and only tested from 1 to 40 MHz. Joep -- 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.
