[fpc-pascal] AVR Busy Wait implementation

Marc Santhoff M.Santhoff at web.de
Tue Jan 12 14:54:51 CET 2016

On Mo, 2016-01-11 at 23:19 +0100, Simon Ameis wrote:
> Hello,
> has anyone already written a busy wait procedure for AVR or any other
> embedded processors?
> I'm currently facing issues converting Arduino's calculation of time
> (millisecons/microseconds) to cpu cycles as they rely on compile time
> elimination of floating point calculation.

No, but I would search something published freely or having a fitting
license like BSD and translate it to Pascal.

Look there for eample:

There are lot of projects, the complicated part will be to find the
license. But if you write soemthing inspired by existing code but do it
yourself, imho will be OK.


Marc Santhoff <M.Santhoff at web.de>

More information about the fpc-pascal mailing list