nickthefisch / arduino-tiny

Automatically exported from code.google.com/p/arduino-tiny
Other
0 stars 0 forks source link

Compilation error with IRremote library #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. use IRremote 
library(http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html
) - see attached files in this issue report
2. use below sketch code

#include <IRremote.h>

IRsend irsend;

void setup()
{
  Serial.begin(9600);
}

void loop() {
irsend.sendSapien(0x80);
      delay(1000);
irsend.sendSapien(0x81);    
   delay(1000);
}  

What is the expected output? What do you see instead?
Compilation error

What version of the product are you using? On what operating system?
Attiny85 (internal 8MHz, blinkLED example works fine)
Arduino 1.0.1

Please provide any additional information below.

compilation error shows....

================================================
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In 
member function 'void IRsend::mark(int)':
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:353: 
error: 'TCCR2A' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:353: 
error: 'COM2B1' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In 
member function 'void IRsend::space(int)':
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:361: 
error: 'TCCR2A' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:361: 
error: 'COM2B1' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In 
member function 'void IRsend::enableIROut(int)':
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:379: 
error: 'TIMSK2' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:389: 
error: 'TCCR2A' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:389: 
error: 'WGM20' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:389: 
error: 'TCCR2B' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:389: 
error: 'WGM22' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:389: 
error: 'CS20' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:389: 
error: 'OCR2A' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:389: 
error: 'OCR2B' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp: In 
member function 'void IRrecv::enableIRIn()':
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:405: 
error: 'TCCR2A' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:405: 
error: 'WGM21' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:405: 
error: 'TCCR2B' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:405: 
error: 'CS21' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:405: 
error: 'OCR2A' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:405: 
error: 'TCNT2' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:408: 
error: 'TIMSK2' was not declared in this scope
E:\arduino-1.0.1-windows\arduino-1.0.1\libraries\IRremote\IRremote.cpp:408: 
error: 'OCIE2A' was not declared in this scope

Original issue reported on code.google.com by crybaby1...@gmail.com on 11 Nov 2012 at 12:08

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
not an issue with arduino-tiny.
just ignore this issue report

Original comment by crybaby1...@gmail.com on 11 Nov 2012 at 12:47

GoogleCodeExporter commented 8 years ago

Original comment by arduino....@gmail.com on 13 Nov 2012 at 7:59