Ola,
estou tentando configurar um receptor IR infravermelho que comprei na robocore,
porem quando coloco a biblioteca IRremote na IDE e mando compilar da erro, o
erro da até quando não coloco código nenhum e sim só a biblioteca IRremote.
Segue abaixo o erro que aparece na IDE:
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp: In member function 'void IRsend::mark(int)':
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:227: error: 'TCCR2A' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:227: error: 'COM2B1' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:227: error: '_BV' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp: In member function 'void IRsend::space(int)':
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:235: error: 'TCCR2A' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:235: error: 'COM2B1' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:235: error: '_BV' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp: In member function 'void IRsend::enableIROut(int)':
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:253: error: 'TIMSK2' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:263: error: 'TCCR2A' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:263: error: 'WGM20' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:263: error: '_BV' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:263: error: 'TCCR2B' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:263: error: 'WGM22' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:263: error: 'CS20' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:263: error: 'OCR2A' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:263: error: 'OCR2B' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp: In member function 'void IRrecv::enableIRIn()':
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:274: error: 'cli' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:279: error: 'TCCR2A' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:279: error: 'WGM21' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:279: error: '_BV' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:279: error: 'TCCR2B' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:279: error: 'CS21' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:279: error: 'OCR2A' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:279: error: 'TCNT2' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:282: error: 'TIMSK2' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:282: error: 'OCIE2A' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:282: error: '_BV' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:286: error: 'sei' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp: In function 'void TIMER2_COMPA_vect()':
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:370: error: 'PORTB' was not declared in this scope
/home/luiz/arduino-1.5.5/libraries/IRremote/IRremote.cpp:373: error: 'PORTB' was not declared in this scope
Tags:
Bem-vindo a
Laboratorio de Garagem (arduino, eletrônica, robotica, hacking)
© 2024 Criado por Marcelo Rodrigues. Ativado por