Page 1 of 1

delayMicroseconds (80) not declared?

Posted: 06 Sep 2016 22:55
by samsonbox
Hello together,

is it possible, that the function "delayMicroseconds" is not implemented? It is mentioned on the reference-page but i get comiler errors, when i try to use it.

Errors:

Code: Select all

Arduino: 1.6.5 (Windows 7), Platine: "Z-Wave>ME Z-Uno, Europe, Disabled"

C:\Users\xx\AppData\Roaming\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.02.10/zuno_toolchain/compiler build C:\Users\xx\AppData\Local\Temp\build3273354828723812551.tmp/KY-015.cpp -r C:\Users\xx\AppData\Roaming\Arduino15\packages\Z-Uno\hardware\zw8051\0.6.7 -p C:\Users\xx\AppData\Roaming\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.02.10/zuno_toolchain/sdcc/bin/ -o -mmcs51 --out-fmt-ihx --model-large --verbose --debug --use-stdout --code-loc 0x8000 --xram-loc 0x3000 









ab64e9d048c79431b4af475b0225eeea.c:36: warning 88: cast of LITERAL value to 'generic' pointer

from type 'const-char literal'

  to type 'const-char generic* fixed'

ab64e9d048c79431b4af475b0225eeea.c:40: warning 88: cast of LITERAL value to 'generic' pointer

from type 'const-char literal'

  to type 'const-char generic* fixed'

ab64e9d048c79431b4af475b0225eeea.c:74: warning 112: function 'delayMicroseconds' implicit declaration

KY-015.ino:55:1:error: too many parameters 

ab64e9d048c79431b4af475b0225eeea.c:90: warning 88: cast of LITERAL value to 'generic' pointer

from type 'const-char literal'

  to type 'const-char generic* fixed'


too many parameters
Thank you for your answers and best regardes

Philipp

Re: delayMicroseconds (80) not declared?

Posted: 07 Sep 2016 01:38
by PoltoS
It is implemented only in the lates 2.0.5 branch. It is in test bed now, but will become release next week.

Please look on our site in news how to pick up 2.0.5 from test bed.