i am making a code for ir signals but when i press the button it doesn't want to send the ir signal to pin 11~
#include <IRremote.h>
int buttonPin = 8;
int ledPin = 13;
IRsend ir;
char dato;
unsigned int rawData[67] = {4500,4500, 500,1700, 550,1700, 500,1700, 550,600, 500,600, 500,550, 600,550, 550,600, 500,1650, 550,1750, 500,1700, 500,600, 550,600, 500,600, 500,600, 550,550, 550,600, 500,1700, 550,600, 500,600, 500,550, 550,600, 550,600, 500,550, 550,1700, 550,600, 500,1650, 550,1750, 500,1650, 550,1750, 500,1700, 500,1750, 500};
int buttonState = 0; // variable for reading the pushbutton status
void setup() {
pinMode(buttonPin, INPUT);
pinMode(ledPin, OUTPUT);
}
void loop() {
// read the state of the pushbutton value:
buttonState = digitalRead(buttonPin);
// check if the pushbutton is pressed. If it is, the buttonState is HIGH:
if (buttonState == HIGH) {
// turn LED on:
ir.sendRaw(rawData,67,38);
delay(1);
digitalWrite(ledPin, HIGH);
delay(100);
digitalWrite(ledPin, LOW);
delay(100);
} else {
// turn LED off:
digitalWrite(ledPin, HIGH);
delay(100);
digitalWrite(ledPin, LOW);
delay(1000);
}
}

