IRRemote Library questions

Hi Folks.

I need to have an Arduino accept NEC codes and then if necessary transmit SONY codes to another unit.

I can get the Arduino to do one or the other but not both. I believe it may be getting caught up with the IRRecv.enableIRIN - but I am not sure how to disable it, send, and then reenable it.

Can anyone suggest some idea's.

Many thanks

Dave

kenshirriff said a long time ago (see post #5)

When you do a send, the receiving is disabled. To re-enable it after sending you need to call:
irrecv.enableIRIn(); // Start the receiver

but The library cannot send and receive at the same time

there is an example (IRrecord.ino) that records an incoming signal and plays it back

what's your code?