Instructions

www.joy-it.net
Pascalstr. 8 47506 Neukirchen-Vluyn
#include <IRremote.h>
int RECV_PIN = 11;
int LED1 = 2;
int LED2 = 3;
int LED3 = 4;
int LED4 = 5;
int LED5 = 6;
int LED6 = 7;
long on1 = 0x00FFA25D;
long off1 = 0x00FFE01F;
The following code requires the library
IRremote
which you can down-
load in the Arduino IDE at
Sketch
Include Library
Manage librar-
ies
. There you can manage the libraries you have created using the
search bar to find and install this library. Restart your IDE aerwards.
The following code will receive a signal via infrared, decode and output
to the serial monitor. If you use the supplied remote control, the pressed
button on the remote control will also be outputted correctly. Please
note that if you use a dierent remote control, the wrong keys will be
displayed or none. The remote control can also be used to control the 6
LEDs, i.e. switch them on and o.