Library for receiving and decoding IR signals using an ESP32.
It supports Arduino-ESP32 >= 3.02 based on ESP-IDF v5.1.4+!

- Download the library.
- Unzip and place the
IRRemoteESP32folder in yourArduino/librariesdirectory. - Restart the Arduino ID
The library uses IR Remote for Arduino
Button - Code:
0 - 0;
1 - 1;
2 - 2;
3 - 3;
4 - 4;
5 - 5;
6 - 6;
7 - 7;
8 - 8;
9 - 9;
* - 10;
# - 11;
OK - 12;
UP - 13;
RIGTH - 14;
DOWN - 15;
LEFT - 16.
#include <IRRemoteESP32.h>
IRRemoteESP32 irRemote;
void setup() {
Serial.begin(115200);
irRemote = IRRemoteESP32();
}
void loop() {
int result = irRemote.checkRemote();
if (result != -1) {
Serial.println(result);
}
delay(100);
}
The library based on the ideas of https://github.com/schreibfaul1/ESP32-IR-Remote-Cont