Closed xuio closed 10 years ago
I do not think a simple for() loop will compile to exactly the right number of cycles, so you really want to use the built-in function. I wonder why you are not getting that function - it is part of the GCC compiler used by the Arduino IDE and it works on ever machine I have. Are you sure you are using the latest version of the IDE, currently 1.5.6-r2? Have you modified any of the GCC options in the install? Thanks!
I was getting this error while using the latest release (1.0.5) and the latest beta (1.5.6-r2). I haven't done any modifications to the compiler. I tried compiling for the Mega and the Uno.
I suppose this is a mac only issue it compiles fine on both Windows and Linux
fix for '__builtin_avr_delay_cycles' was not declared in this scope