irrecv.enableIRIn(); //Initialize infrared remote control
if (irrecv.decode(&results))
if(results.value==16753245) //Confirm the code of the first row of keys 1 received. //This code is the code of the keys read in advance. {
digitalWrite(13,1); //Light up the LED
Serial.println("turn on LED"); //Serial port display lights on
//Confirm the code for the first row of keys 2 received
else if(results.value==16736925) {
digitalWrite(13,0); //Put out the LED
Serial.println("turn off LED"); //Serial port displays lights off
irrecv.resume(); // Receive the next value