 #include <Servo.h> 
  
 
-#define USE_RC_SETUP  1
-
+#define USE_RC_SETUP  0
 
 #define RC_MOTOR_L    0
 #define RC_MOTOR_C    1

  RovSerial.SendCmd( &Cmd );
}



void recv_cmd_control( RSP_CMD_OBJ *pCmd )
{
  uint16_t Pwm[3];

  //-- 모터 제어 
  //
  Pwm[0] = (pCmd->Data[8]<<8) | (pCmd->Data[7]);
  Serial.print("RC : ");
  Serial.println(Pwm[0]);
  RovServo[RC_MOTOR_L].write(Pwm[0]);


  //-- LED 제어 
  //
}

  RovServo[RC_MOTOR_C].write(0);
  RovServo[RC_MOTOR_R].write(0);

  pinMode(LED_PIN_L, PWM);
  pinMode(LED_PIN_R, PWM);

  analogWrite(LED_PIN_L, 0);
  analogWrite(LED_PIN_R, 0);

  IsConnected = false;
}


void loop() 
{
  static uint32_t tTime[8];

  //-- 명령어 수신 처리 
  //
  process_recv_cmd();

  #if USE_RC_SETUP ==  1
  rc_setup();
