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:
https://www.mikrocontroller.net/articles/AVR

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

-- 
Marc Santhoff <m.santh...@web.de>

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to