#include <IRremote.h>
int IR_input = 10;
void setup(){
IrReciver.begin(IR_input);
Serial.begin(9600);
// put your setup code here, to run once:
}
void loop() {
if(IrReciver.decode())
{
Serial.println(IrReciver.decodedIRData.command);
IrReciver.resume();
}
// put your main code here, to run repeatedly:
}