IR Unit is an infrared photodiode unit that integrates both an infrared transmitter and receiver. It is designed to be connected to the M5Stack controllers through the HY2.0-4P interface for controlling infrared transmission and reception. The unit supports infrared encoding and decoding.Due to its reliable short-range transmission capabilities, infrared remote control is widely used in everyday life for controlling home appliances and consumer electronics. The IR unit enables seamless integration with the M5Core, allowing you to incorporate infrared functionality into your projects and interact with a variety of devices using infrared technology.