Replies: 4 comments 18 replies
-
|
Look in the API? |
Beta Was this translation helpful? Give feedback.
-
|
In order to give you some non-trivial help, you have to describe your use case in some more detail. In particular, are two receivers running simultaneously and independently, or are they active at different times? In the former case, you probably have to have a multiprocessing processor, i.e. not an ATmega 328 (uno, nano etc), and that is a different ballgame. Or you can possibly just connect the data output pins of the TSOPs together? |
Beta Was this translation helpful? Give feedback.
-
|
It seems like the original author of this library made a test version where it was implemented properly (from the comments at https://www.righto.com/2009/08/multi-protocol-infrared-remote-library.html :
However, the link now gives a 404. Judging from the discussion, it seems like it worked. Has it been archived? Can I get access to it? Why wasn't this built upon instead of refactoring the codebase into .hpp files and macros everywhere? |
Beta Was this translation helpful? Give feedback.
-
|
The only way I can get this to work is to put everything inside the .ino file, which sucks, and even then I have two globlal instances of an IRrecv. Is there an example of a working multi file project using this library? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My project has two IR receivers. When using something like the multiple receiver example, in a single .ino file, it works fine (even though the implementation of multiple IR receivers seems very hacky for some reason). Now, I am writing my own library and I cannot figure out how to integrate the two IR receivers as member objects of my class.
I want to have something like this:
However, I am unable to do it due to the way the second IRrecv object has to be initialized. Is there a way to to it?
Beta Was this translation helpful? Give feedback.
All reactions