slipstick:
Show us your attempt to combine Recv and Send and tell us what problems you are having.There's nothing very mad (or particularly difficult) about making an IR repeater.
Steve
Hi, thanks ..
Here's the code :
#include <IRremote.h>
int RECV_PIN = 11;
IRsend irsend;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial.begin(9600);
Serial.println("Enabling IRin");
irrecv.enableIRIn(); // Start the receiver
Serial.println("Enabled IRin for you !");
}
void loop() {
if (irrecv.decode(&results))
{
Serial.println(results.value, HEX);
irrecv.resume(); // Receive the next value
}
delay(100);
irsend.sendNEC(results.value, HEX, 32); \ Here's the problem. I don't understand what to write here;
delay(200);
}