IRLib Sending IR codes problems

Hi

I've followed this (Sending IR Codes | Using an Infrared Library on Arduino | Adafruit Learning System) tutorial as I'm trying to replace an IR remote with an Ardunio Uno to control an RGB LED floodlight.

The floodlight came with a standard 24 button remote and I've been able to read the codes with the IRLib library as explained in the above tutorial.

The result of the serial monitor for the code I want the arduino to send is:

eady to receive IR signals
Decoded NEC(1): Value:F720DF Adrs:0 (32 bits) 
Raw samples(68): Gap:5966
  Head: m9102  s4542
0:m538 s598   1:m542 s598       2:m542 s598   3:m542 s602       
4:m542 s598   5:m542 s598       6:m542 s598   7:m542 s602       
8:m542 s1706   9:m542 s1710       10:m542 s1710   11:m542 s1710       
12:m542 s598   13:m546 s1706       14:m542 s1710   15:m542 s1710       

16:m542 s598   17:m546 s594       18:m546 s1706   19:m546 s598       
20:m542 s598   21:m546 s594       22:m546 s598   23:m542 s598       
24:m546 s1706   25:m542 s1710       26:m542 s602   27:m542 s1706       
28:m546 s1710   29:m542 s1706       30:m546 s1706   31:m546 s1706       

32:m542
Extent=67354
Mark  min:538    max:546
Space min:594    max:1710

I'm really struggling to get this code to send from the Arduino - is anyone able to advise on the code please? I have the IR transmitter LED connected to pin 2.

Many thanks

Decoded NEC(1): Value:F720DF

So, when you use the IR transmitter example, and sendNEC(0xf720DF), what happens?

I have this as my code

The floodlight doesn't change

#include <IRremote.h>

IRsend irsend;

void setup()
{
}

void loop() {
	for (int i = 0; i < 3; i++) {
		irsend.sendNEC(0xf720DF, 32);
		delay(40);
	}
	delay(5000); //5 second delay between each signal burst
}

I'm really struggling to get this code to send from the Arduino - is anyone able to advise on the code please? I have the IR transmitter LED connected to pin 2.

The tutorial says it must be connected to pin 3, why are you using another pin? On the UNO it cannot work with pin 2.