help to build an ir transmitter

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()
void loop()

Serial.print("Sent NEC ");

irrecv.decode(&results) ;

irrecv.resume(); // Receive the next value

my leds is illuminating but i am not receiveing in tsop…can you guys help me

Couple of things

You need to place your code in code tags (the # button on top when editing) otherwise too hard to read your code.

You cannot send and receive at the same time using IRremote - as it doesnt make sense. You need to have 2 different Arduino systems to test one a sender and one a receiver.

Normally people use an existing remote control to test receiving and a TV to test sending - thus no need for 2 Arduinos.

This should help you out...