full functionality of this site and enable such things as forum posting.
alfucdev:
Hi all.
I just come from first install on Debian with repository and apt method.
I want run a first test for the board i use very often the pro / pro mini..
And this crash. if i set another board setting all is good.
I have test with several example...all good with others board setting..
Compil crash when select the pro or pro mini board.
Compiling...
• Preprocessing...
• Converting binary files
• Compiling sketch...
• Error at line 174 in file delay.h:
‣ expected primary-expression before ')' token
• Error at line 263 in file delay.h:
‣ expected primary-expression before ')' token
Compiling Failed
The output :
uecide/compilers/avr-gcc/avr/include/util/delay.h: In function 'void _delay_ms(double)': .uecide/compilers/avr-gcc/avr/include/util/delay.h:174:17: error: expected primary-expression before ')' token
__tmp = ((F_CPU) / 1e3) * __ms;
^
.uecide/compilers/avr-gcc/avr/include/util/delay.h: In function 'void _delay_us(double)':
.uecide/compilers/avr-gcc/avr/include/util/delay.h:263:17: error: expected primary-expression before ')' token
__tmp = ((F_CPU) / 1e6) * __us;
I have test with the dev version i have the same problem.
Many thanks. Have a nice day.
matt:
This is the only board that comes in different speed grades, and F_CPU isn't being set right. It's a simple fix, and I'm just compiling new Arduino AVR board packages with that fix. Check plugin manager for an update to the Arduino Pro board package (should be version 1.1.9).
matt:
Thanks. I've been learning a new PHP framework (well, new to me) over the past few months. It's been really nice. coming from a pure PHP background to use something that takes all the work out of it :)