It doesn't currently support multiple IR receivers.
The easiest thing would be to AND the receiver outputs together (since the sensors are active-low) and provide this as a single input to the Arduino. This would work if only one receiver is being used at a time, or if they are receiving the same signal. You could also use multiple Arduino inputs and do this AND logic in the interrupt routine, testing if any of the inputs are low.
It would be fairly difficult to support multiple IR receivers that could receive different signals simultaneously, as each one would need to be tracked independently.
I have tried your library and it works great. However when I used the same arduino board for both sending and receiving IR data I noticed the following:
I couldn't receive the data I was sending, but I could receive data from other IR sources. The explanation probably here is that while IR data is sent, arduino is busy and the IR reception subsystem doesn't get a chance to record data.
I was receiving fine up until I sent the first byte via IR. From that point and further reception of IR data from any IR source stopped. Could this be some sort of "API interference" between IRsend and IRrecv?
You can't use sending and receiving at the same time. When you do a send, the receiving is disabled. To re-enable it after sending you need to call:
irrecv.enableIRIn(); // Start the receiver
I've tried your code and its work. I got this raw code "2FD807F" when I press no 1 button on the remote. I am trying to make a small robot that can be control by remote.
Can you or somebody who read this help me to trnslate this code to light an Led.
Had a bash with this Library myself, looks good and recognises my Sky Remote.
It does seem as 90% of the codes from the remote come through as "Unknown" whilst a few come through as the correct RC6 code.
I've picked up an TV controller (an IR extender basically). Cut the receiver cable, wired that up to the Arduino and stuck the signal cable (which runs back to the blaster) in the "transmit" pin.
ie:
Receiver >>>>>>>>> Blaster >>>>>>>> TV
Now
Receiver >>>> Arduino >>>> Blaster >>>> TV
The return path from the Arduino to blaster isn't working. I've tried the "Replay" feature of this library but no joy.
Hopefully I can figure it out. Does anyone have any tips? I notice the library doesn't technically support RC6.