Best IR Library?

I come from a background of game development and game modding with C#, so, Arduino's C++ styled language wasn't hard to get used to. IRremote, on the other hand, feels like the least intuitive library I have ever touched. I'd rather set myself aflame
and roll down the side of mount Everest than use IRremote.

AFAIK It doesn't even have an API >:(

So, I'm just wondering if there are any more intuitive libs, OR, if there are any guides that actually explain it...

Note: I'm not expecting it to be easy, just not blatantly unlearnable

-Thanks

  • This library is well received.

Thank you, but please read my post first :slight_smile:

You've had another library recommended that isn't IRremote. Are you being deliberately condescending?

What does that even mean? Of course it has APIs. They're all defined in files in the src folder.

What effort have you put in to learn it? Did you go through the README? Did you study the examples?

IRremote is good for many people, like it or not.
IRremoteESP8266 is also very good when you need to cover less common protocols.
Sometimes best is no library at all...

The OP has a point - the IRRemote distributed with the IDE, which I suspect he's referring to, links to the one @LarryD pointed to.

I haven't used it, but there's the IRMP library.

I think a lot of people continue to use an older version of IRRemote, like v2.8.1, because the later versions broke their code. You might find that easier to deal with, and it works fine for most things. Of course you have to be sure any examples you look at match whatever library version you're using.

It’s probably a skill issue on my part. But I looked through 90% of the chapters mentioned in the readme, and I can’t find a documented API explaining functions, I can’t even find one with just a list.

-thanks for the reply

It's rare you even have chapters, many times even good libraries have bad documentation (or no documentation).

https://arduino-irremote.github.io/Arduino-IRremote/classIRrecv.html

But you have seen the API Button at start of GitHub - Arduino-IRremote/Arduino-IRremote: Infrared remote library for Arduino: send and receive infrared signals with multiple protocols
leading you to IRremote: IRrecv Class Reference ???