IR sensor error
Posted: Tue Jun 21, 2016 11:12 pm
i use arduino pro mini 5v and ir sensor connected to B3 (pin 11)
here's what i get when try to compile and load to arduino
D:\Arduino\test>"C:\PROGRA~1\FLOWCO~2\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega328 -Os -funsigned-char -o "D:\Arduino\test\irtest.elf" "D:\Arduino\test\irtest.c" -lm
In file included from C:\Program Files\Flowcode 6\CAL\includes.c:229,
from D:\Arduino\test\irtest.c:127:
C:\Program Files\Flowcode 6\CAL\/AVR\AVR_CAL_PWM.c:105:5: warning: #warning "PWM Channel Uses Resource Timer 0"
D:\Arduino\test\irtest.c:237: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
D:\Arduino\test\irtest.c:253: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
Error returned from [avr-gcc.exe]
Completed compilation, return = 1
C:\Program Files\Flowcode 6\compilers\avr\batchfiles\avra.bat reported error code 1
FINISHED