关于arduino的一个问题

关于arduino的一个问题
红外遥控代码 代码是这样

#include <IRremote.h>//包含红外库
int RECV_PIN = 11;//端口声明
IRrecv irrecv(RECV_PIN);
decode_results results;//结构声明
unsigned long last = millis();

long left_turn = 0x00FFA25D;//按键1 十进制
long run_car = 0x00FF629D;//按键2 十进制
long right_turn = 0x00FFE21D;//按键3 十进制
long stop_car = 0x00FF02FD;//按键5 十进制
long left_car = 0x00FF22DD;//按键4 十进制
long right_car = 0x00FFC23D;//按键6 十进制
long back_car = 0x00FFA857;//按键8 十进制









//==============================
int Left_motor_back=5;     
int Left_motor_go=6;     
int Right_motor_go=10;    
int Right_motor_back=9;    

void setup()
{
  //初始化电机驱动IO为输出方式
  pinMode(Left_motor_go,OUTPUT); // (PWM)
  pinMode(Left_motor_back,OUTPUT); // (PWM)
  pinMode(Right_motor_go,OUTPUT);// (PWM) 
  pinMode(Right_motor_back,OUTPUT);// (PWM)
  
  Serial.begin(9600);  //波特率9600
  irrecv.enableIRIn(); // Start the receiver
}
void run()     // 前进
{
  digitalWrite(Right_motor_go,HIGH);  // 右电机前进
  digitalWrite(Right_motor_back,LOW);     
  //analogWrite(Right_motor_go,200);//PWM比例0~255调速,左右轮差异略增减
  //analogWrite(Right_motor_back,0);
  digitalWrite(Left_motor_go,HIGH);  // 左电机前进
  digitalWrite(Left_motor_back,LOW);
  //analogWrite(Left_motor_go,200);//PWM比例0~255调速,左右轮差异略增减
  //analogWrite(Left_motor_back,0);
  //delay(time * 100);   //执行时间,可以调整  
}

void brake()         //刹车,停车
{
  digitalWrite(Right_motor_go,LOW);
  digitalWrite(Right_motor_back,LOW);
  digitalWrite(Left_motor_go,LOW);
  digitalWrite(Left_motor_back,LOW);
  //delay(time * 100);//执行时间,可以调整  
}

void left()         //左转(左轮不动,右轮前进)
{
  digitalWrite(Right_motor_go,HIGH);  // 右电机前进
  digitalWrite(Right_motor_back,LOW);
  //analogWrite(Right_motor_go,200); 
  //analogWrite(Right_motor_back,0);//PWM比例0~255调速
  digitalWrite(Left_motor_go,LOW);   //左轮不动
  digitalWrite(Left_motor_back,LOW);
  //analogWrite(Left_motor_go,0); 
  //analogWrite(Left_motor_back,0);//PWM比例0~255调速
  //delay(time * 100);  //执行时间,可以调整  
}

void spin_left()         //左转(左轮后退,右轮前进)
{
  digitalWrite(Right_motor_go,HIGH);  // 右电机前进
  digitalWrite(Right_motor_back,LOW);
  //analogWrite(Right_motor_go,200); 
  //analogWrite(Right_motor_back,0);//PWM比例0~255调速
  digitalWrite(Left_motor_go,LOW);   //左轮后退
  digitalWrite(Left_motor_back,HIGH);
  //analogWrite(Left_motor_go,0); 
  //analogWrite(Left_motor_back,200);//PWM比例0~255调速
  //delay(time * 100);  //执行时间,可以调整  
}

void right()        //右转(右轮不动,左轮前进)
{
  digitalWrite(Right_motor_go,LOW);   //右电机不动
  digitalWrite(Right_motor_back,LOW);
  //analogWrite(Right_motor_go,0); 
  //analogWrite(Right_motor_back,0);//PWM比例0~255调速
  digitalWrite(Left_motor_go,HIGH);//左电机前进
  digitalWrite(Left_motor_back,LOW);
  //analogWrite(Left_motor_go,200); 
  //analogWrite(Left_motor_back,0);//PWM比例0~255调速
  //delay(time * 100);  //执行时间,可以调整  
}

void spin_right()        //右转(右轮后退,左轮前进)
{
  digitalWrite(Right_motor_go,LOW);   //右电机后退
  digitalWrite(Right_motor_back,HIGH);
  //analogWrite(Right_motor_go,0); 
  //analogWrite(Right_motor_back,200);//PWM比例0~255调速
  digitalWrite(Left_motor_go,HIGH);//左电机前进
  digitalWrite(Left_motor_back,LOW);
  //analogWrite(Left_motor_go,200); 
  //analogWrite(Left_motor_back,0);//PWM比例0~255调速
  //delay(time * 100);  //执行时间,可以调整  
}

void back()          //后退
{
  digitalWrite(Right_motor_go,LOW);  //右轮后退
  digitalWrite(Right_motor_back,HIGH);
  //analogWrite(Right_motor_go,0);
  //analogWrite(Right_motor_back,150);//PWM比例0~255调速
  digitalWrite(Left_motor_go,LOW);  //左轮后退
  digitalWrite(Left_motor_back,HIGH);
  //analogWrite(Left_motor_go,0);
  //analogWrite(Left_motor_back,150);//PWM比例0~255调速
  //delay(time * 100);     //执行时间,可以调整  
}

void dump(decode_results *results)
{
  int count = results->rawlen;
  if (results->decode_type == UNKNOWN) 
  {
    Serial.println("Could not decode message");
    brake();
  } 
//串口打印,调试时可以打开,实际运行中会影响反应速度,建议屏蔽


  else 
  {

    if (results->decode_type == NEC) 
    {
      Serial.print("Decoded NEC: ");
    } 
    else if (results->decode_type == SONY) 
    {
      Serial.print("Decoded SONY: ");
    } 
    else if (results->decode_type == RC5) 
    {
      Serial.print("Decoded RC5: ");
    } 
    else if (results->decode_type == RC6) 
    {
      Serial.print("Decoded RC6: ");
    }
    Serial.print(results->value, HEX);
    Serial.print(" (");
    Serial.print(results->bits, DEC);
    Serial.println(" bits)");
    
  }
  Serial.print("Raw (");
  Serial.print(count, DEC);
  Serial.print("): ");

  for (int i = 0; i < count; i++) 
  {
    if ((i % 2) == 1) 
    {
      Serial.print(results->rawbuf[i]*USECPERTICK, DEC);
    } 
    else  
    {
      Serial.print(-(int)results->rawbuf[i]*USECPERTICK, DEC);
    }
    Serial.print(" ");
  }
  Serial.println("");

}          

void loop(){
  if (irrecv.decode(&results)) //调用库函数:解码
  {
    // If it's been at least 1/4 second since the last
    // IR received, toggle the relay
    if (millis() - last > 250) //确定接收到信号
    {
     
      dump(&results);//解码红外信号
    }
    if (results.value == run_car )//按键2
      run();//前进
    if (results.value == back_car )//按键8
      back();//后退
    if (results.value == left_car )//按键4
      left();//左转
    if (results.value == right_car )//按键6
      right();//右转
    if (results.value == stop_car )//按键5
      brake();//停车
    if (results.value == left_turn )//按键1
      spin_left();//左旋转
    if (results.value == right_turn )//按键3
      spin_right();//右旋转
    last = millis();      
    irrecv.resume(); // Receive the next value
  }
}

但是串口是这样
Raw (68): -17892 8950 -4550 500 -650 500 -650 500 -650 500 -650 500 -700 500 -600 550 -600 500 -650 550 -1650 550 -1700 550 -1700 500 -1750 500 -1700 500 -1700 550 -1700 550 -1750 450 -1700 550 -650 500 -1650 550 -650 500 -650 500 -650 500 -1700 500 -700 550 -600 500 -1700 500 -650 500 -1850 400 -1700 550 -1700 550 -600 500 -1750 500
Could not decode message
Raw (22): 8880 15200 -600 500 -650 550 -600 550 -600 2900 -550 500 -1700 2800 -1650 7250 -1700 24200 -1700 500 -650 17564
Decoded NEC: FFFFFFFF (0 bits)
Raw (4): 25336 9000 -2250 600
Decoded NEC: FFFFFFFF (0 bits)
Raw (4): -30014 9000 -2250 600
求解答