Need help my ESP32 gets stuck after sending one signal from the IR transmitter
As the title says my ESP32 gets stuck after I send a single signal from the IR transmitter it does not execute anything below `IrSender.sendNEC(0xF300, 0x91, 30000); `.
The signal will go out perfectly fine and it will even turn on/off my fan. but nothing below it gets executed it does not even go inside of the loop.
My Code:
#include <IRremote.hpp>
const int irSendPin = 21;
void setup() {
Serial.begin(115200);
IrSender.begin(irSendPin);
Serial.println("Sending signal");
IrSender.sendNEC(0xF300, 0x91, 30000);
Serial.println("Signal sent!");
}
void loop() {
Serial.println("It is not going in the loop");
}
Image of my circuit:
Thank you