Joy-IT KY-022
the KY-022 here int RECV_PIN = 11; // Arduino-IRremote library will be initialized IRrecv irrecv(RECV_PIN); decode_results results; Export: 16.06.2017 Copyright by Joy-IT - Published under CC BY-NC-SA 3.0 Page 90 of 214 KY-022 Infrared receiver module 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-022 Infrared receiver module KY-022 Infrared receiver 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 ................................................................................................................................