On Wed, Feb 11, 2009 at 07:06:22PM +0100, Bernard Fouch? wrote: > > However it may not be perfect, if ever the system has other ISR > routines that allow the MilliSeconds counter to progress but forbid > getMs() to run between reading 'a' and 'b' for more than 255 ms!
Well, not "more than" but interrupt getMs() for some multiple of 256 ms with a window of about 1 ms. -- David Kelly N4HHE, [email protected] ======================================================================== Whom computers would destroy, they must first drive mad. _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
