|
Arduino:1.6.5 (Windows 7), 板:"Arduino Yún"
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::mark(int)':
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:172:3: error: 'TCCR2A' was not declared in this scope
TCCR2A |= _BV(COM2B1); // Enable pin 3 PWM output
^
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Program Files (x86)\Arduino\libraries\IRremote\IRremoteInt.h:16,
from C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:13:
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:172:17: error: 'COM2B1' was not declared in this scope
TCCR2A |= _BV(COM2B1); // Enable pin 3 PWM output
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::space(int)':
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:180:3: error: 'TCCR2A' was not declared in this scope
TCCR2A &= ~(_BV(COM2B1)); // Disable pin 3 PWM output
^
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Program Files (x86)\Arduino\libraries\IRremote\IRremoteInt.h:16,
from C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:13:
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:180:19: error: 'COM2B1' was not declared in this scope
TCCR2A &= ~(_BV(COM2B1)); // Disable pin 3 PWM output
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::enableIROut(int)':
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:207:3: error: 'TCCR2A' was not declared in this scope
TCCR2A = _BV(WGM20);
^
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Program Files (x86)\Arduino\libraries\IRremote\IRremoteInt.h:16,
from C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:13:
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:207:16: error: 'WGM20' was not declared in this scope
TCCR2A = _BV(WGM20);
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:208:3: error: 'TCCR2B' was not declared in this scope
TCCR2B = _BV(WGM22) | _BV(CS20);
^
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Program Files (x86)\Arduino\libraries\IRremote\IRremoteInt.h:16,
from C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:13:
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:208:16: error: 'WGM22' was not declared in this scope
TCCR2B = _BV(WGM22) | _BV(CS20);
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:208:29: error: 'CS20' was not declared in this scope
TCCR2B = _BV(WGM22) | _BV(CS20);
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:211:3: error: 'OCR2A' was not declared in this scope
OCR2A = SYSCLOCK / 2 / khz / 1000;
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:212:3: error: 'OCR2B' was not declared in this scope
OCR2B = OCR2A / 3; // 33% duty cycle
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::enableIRIn()':
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:224:3: error: 'TCCR2A' was not declared in this scope
TCCR2A = 0; // normal mode
^
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Program Files (x86)\Arduino\libraries\IRremote\IRremoteInt.h:16,
from C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:13:
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:229:7: error: 'TCCR2B' was not declared in this scope
cbi(TCCR2B,CS22);
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:229:3: note: in expansion of macro 'cbi'
cbi(TCCR2B,CS22);
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:229:14: error: 'CS22' was not declared in this scope
cbi(TCCR2B,CS22);
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:229:3: note: in expansion of macro 'cbi'
cbi(TCCR2B,CS22);
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:230:14: error: 'CS21' was not declared in this scope
sbi(TCCR2B,CS21);
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:230:3: note: in expansion of macro 'sbi'
sbi(TCCR2B,CS21);
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:231:14: error: 'CS20' was not declared in this scope
cbi(TCCR2B,CS20);
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:231:3: note: in expansion of macro 'cbi'
cbi(TCCR2B,CS20);
^
In file included from C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:13:0:
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremoteInt.h:43:22: error: 'TCNT2' was not declared in this scope
#define RESET_TIMER2 TCNT2 = INIT_TIMER_COUNT2
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:236:3: note: in expansion of macro 'RESET_TIMER2'
RESET_TIMER2;
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp: In function 'void TIMER2_OVF_vect()':
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremoteInt.h:43:22: error: 'TCNT2' was not declared in this scope
#define RESET_TIMER2 TCNT2 = INIT_TIMER_COUNT2
^
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:266:3: note: in expansion of macro 'RESET_TIMER2'
RESET_TIMER2;
^
Multiple libraries were found for "IRremote.h"
Used: C:\Program Files (x86)\Arduino\libraries\IRremote
Not used: C:\Program Files (x86)\Arduino\libraries\RobotIRremote
编译有误。
报告将会包含更多的信息
"在编译时,输出详细信息"
在 文件>首选项 中启用
|
|