IR library not working with ATtiny chips

Heya!

I want to have my ATtiny(85,45,2313) to be able to communicate using IR, but when I write the code, they won't compile when I switch to the ATtinys. The code works fine on my Uno, but when I try to compile on one of my ATtiny chips I get this.

Is there a way to fix it? Thanks!

Is there a way to fix it?

Would you like me to post a picture of the correct code somewhere you can't access? There is NO reason to post a picture of text when you could post the text instead.

Posting the code might be useful, too.

The IRRemote library is not compatible with AtTiny.
You need another library, TinyIRremote.
In attach library, I don't remind the link to original address.

TinyIRremote.rar (12.4 KB)

Thank you nid69 for the help! I hope I can get this library to work!

sir ,
this library doesn't works with attiny 2313@1mhz
the following error appears..
core.a(wiring.c.o): In function __vector_6':</mark> <mark>/Users/nishant/Documents/Arduino/hardware/tiny/cores/tiny/wiring.c:78: multiple definition of __vector_6'
IRTinyRX/IRTinyRX.cpp.o:/Users/nishant/Documents/Arduino/libraries/IRTinyRX/IRTinyRX.cpp:92: first defined here

please help me , how can i remove this error

Which version of IDE ?

With IDE 1.0.5r2 my version of TinyIRRx library compile the example code. In attach my version of library.

TinyIRRX.rar (7.57 KB)

i am using IDE 1.0.5

when i compiled i got this

SimpleIRTinyRX:29: error: 'IRrecv' does not name a type
SimpleIRTinyRX:30: error: 'decode_results' does not name a type
SimpleIRTinyRX.ino: In function 'void setup()':
SimpleIRTinyRX:38: error: 'irrecv' was not declared in this scope
SimpleIRTinyRX.ino: In function 'void loop()':
SimpleIRTinyRX:44: error: 'irrecv' was not declared in this scope
SimpleIRTinyRX:44: error: 'results' was not declared in this scope

I think you not have installed the library in right manner.
Libraries folder is under sketch folder
for me: E:\arduino_projects\LIBRARIES

not under IDE folder. Check
for me: E:\arduino\arduino-IDE\libraries

Sorry, after correcting the path
again the same problem appears which was coming earlier
"
core.a(wiring.c.o): In function __vector_6': /Users/nishant/Documents/Arduino/hardware/tiny/cores/tiny/wiring.c:78: multiple definition of __vector_6'
TinyIRRX/TinyIRRX.cpp.o:/Users/nishant/Documents/Arduino/libraries/TinyIRRX/TinyIRRX.cpp:82: first defined here
"

sir, can you please send me the tiny core file which you are using

nreahal:
sir, can you please send me the tiny core file which you are using

ok

TinyCore0100-0017.rar (74.8 KB)

Sir,actually your core file doesn't have attiny 2313 in boards.
your code works fine with attiny 85 but it doesn't work with attiny 2313.
thank you for your time sir.

Sorry, I didn't read carefully you first post about 2313 :blush: