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.
Kind regards
Simo
On Mon, Jan 11, 2016 at 4:18 PM, silvioprog wrote:
> [...]
>
So I'm going to use it too hehe! :-)
>
Worked: http://pastebin.com/DjSkq7U8. :-)
--
Silvio Clécio
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi
On Mon, Jan 11, 2016 at 3:56 PM, silvioprog wrote:
> On Mon, Jan 11, 2016 at 3:41 PM, Anthony Walter wrote:
>
>> I believe in Delphi only external functions may use varargs. In your case
>> you are declaring a variable, which could be assigned to a local function.
>>
>
> You are right:
>
[...]
On Mon, Jan 11, 2016 at 3:41 PM, Anthony Walter wrote:
> I believe in Delphi only external functions may use varargs. In your case
> you are declaring a variable, which could be assigned to a local function.
>
You are right:
http://docwiki.embarcadero.com/RADStudio/XE8/en/E2591_Only_cdecl_funct
I believe in Delphi only external functions may use varargs. In your case
you are declaring a variable, which could be assigned to a local function.
function FmtStr(const fmt: PAnsiChar): PAnsiChar; varargs; cdecl; external
yourlibname;
Note: varargs comes before cdecl, though I am not sure if it