Joy-IT KY-005
the KY-022 here int RECV_PIN = 11; // Arduino-IRremote library will be initialized IRrecv irrecv(RECV_PIN); decode_results results; void setup() { Serial.begin(9600); irrecv.enableIRIn(); // Infrared receiver will start } // main program loop void loop() { // It will be checked if the receiver has gotten a signal.KY-005 Infrared Transmitter module KY-005 Infrared Transmitter module Contents 1 Picture ................................................................................................................................................................. 1 2 Technical data / Short description ....................................................................................................................... 1 3 Pinout ................................................................................................................................................................... 2 4 Code example Arduino ......................................................................................................................................... 2 5 Code example Raspberry Pi ................................................................................................................................. 4 5.1 Code example remote ................................................................................................................................