guys,
i am new to arduino,
i working with tsop and ir leds to build a remote
i have wrote a basic code to transmit a nec code in hex"1FE50AF"
the code i wrote is
#include <CppList.h>
#include <IRremote.h>
#include <IRremoteInt.h>
#include <IRremote.h>
IRsend irsend;
int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn();
}
void loop()
{
irsend.sendNEC(0x1FE50AFUL,32);
Serial.print("Sent NEC ");
irrecv.decode(&results) ;
Serial.println(results.value);
irrecv.resume(); // Receive the next value
}
my leds is illuminating but i am not receiveing in tsop..can you guys help me