How to transmit a data using ir led(transmitter)?

Hi friends,
I want to transmit a data using ir led to ir receiver,i was not getting any code to transmit

#include <IRremote.h>

IRsend irsend;

void setup() 
{
  
}

void loop()
{
    irsend.sendSony(0x68B92, 20);
    delay(100);
    irsend.sendSony(0x68B92, 20);
    delay(100);
    irsend.sendSony(0x68B92, 20);
    delay(300000);
}

This is the code,how to connect led to arduino from which pin it is transmitting

This IR Thread may be of interest.

...R