Am 23.01.2016 um 14:17 schrieb Marc Santhoff: > On Sa, 2016-01-23 at 11:53 +0100, Florian Klaempfl wrote: > >> IMO the only proper solution is to implement delaying as compiler >> intrinsics as it is done by gcc as well. > > Besides using a hardware timer on embedded platforms. Older µC like AVR > do not have too much hardware timers, but modern ones normally have a > lot. > > Waiting in a loop is not the best way to delay when using multitasking.
The topic of this discussion is how to do a delay loop on avr. Not if a delay loop is useful. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal