cyborg5 / IRLib2

Library for receiving, decoding, and sending infrared signals using Arduino
GNU General Public License v3.0
384 stars 138 forks source link

Can't get it to work with attiny85 #93

Open maxholgasson opened 4 years ago

maxholgasson commented 4 years ago

Hi, I can't get the library to work with an attiny 85 which has it's pwm on pin 5 (D0)

Where can I change the pin in the library and what's the advantage of this library compared to the original IRremote?

cyborg5 commented 4 years ago

I’m sorry but the library does not support AT tiny85.

From: maxholgasson [mailto:notifications@github.com] Sent: Thursday, February 13, 2020 3:46 PM To: cyborg5/IRLib2 IRLib2@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [cyborg5/IRLib2] Can't get it to work with attiny85 (#93)

Hi, I can't get the library to work with an attiny 85 which has it's pwm on pin 5 (D0)

Where can I change the pin in the library and what's the advantage of this library compared to the original IRremote?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cyborg5/IRLib2/issues/93?email_source=notifications&email_token=AA3SBOS5BTDPZZQD4GV2QZ3RCWWOZA5CNFSM4KU2TKWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INMJWCQ , or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3SBOVCCKMW2HN62WDIXALRCWWOZANCNFSM4KU2TKWA . https://github.com/notifications/beacon/AA3SBOWWHJB5RZ5HCYEA5ETRCWWOZA5CNFSM4KU2TKWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INMJWCQ.gif

skaman82 commented 3 years ago

Any chances the support will be added in the future? I am very interested in compiling the receive demo for the ATtiny85 as it is working very well for my project but I am getting tons of errors.

And if no support is planned: any tipps for IR libs for ATiny85? Tried IRremote but that don't work well in my case (but compiles for ATtiny85 tho)

ArminJo commented 3 years ago

Try IRMP. What are the problems with IRremote?

skaman82 commented 3 years ago

@ArminJo IRremote is working quite strange in my usecase. I am using an Apple remote and IRremote only detects a command when I place the remote within 10cm of my IR RX - otherwise nothing. IRLib2 works just fine.

ArminJo commented 3 years ago

Does IRremote run better on a plain Arduino (UNO etc.)? It may depend on the setting of MARK_EXCESS_MICROS.