   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();

    //시동 
    if( ch == 'o' )
    {
      rc_pwm_L = 0, rc_pwm_R = 0, rc_pwm_T = 0;
      RovServo[0].write(rc_pwm_L);
      RovServo[1].write(rc_pwm_R);
      RovServo[2].write(rc_pwm_T);
      Serial.println("Start");
    }
    //정지 (시동끄기)
    if( ch == 'p' )
    {
      rc_pwm_L = 0, rc_pwm_R = 0, rc_pwm_T = 0;
      RovServo[0].write(rc_pwm_L);
      RovServo[1].write(rc_pwm_R);
      RovServo[2].write(rc_pwm_T);
      Serial.println("Stop");
    }
    //전진 모터 가속
    if( ch == 'w' )
    {
      rc_pwm_L = constrain(rc_pwm_L++, 0, 2000);
      rc_pwm_R = constrain(rc_pwm_R++, 0, 2000);
      RovServo[0].write(rc_pwm_L);
      RovServo[2].write(rc_pwm_R);
      Serial.println("Left=");
      Serial.println(rc_pwm_L);
      Serial.println("Right=");
      Serial.println(rc_pwm_R);
    }
    //전진 모터 감속
    if( ch == 's' )
    {
      rc_pwm_L = constrain(rc_pwm_L--, 0, 2000);
      rc_pwm_R = constrain(rc_pwm_R--, 0, 2000);
      RovServo[0].write(rc_pwm_L);
      RovServo[2].write(rc_pwm_R);
      Serial.println("Left=");
      Serial.println(rc_pwm_L);
      Serial.println("Right=");
      Serial.println(rc_pwm_R);
    }
    //좌회전
    if( ch == 'a' )
    {
      rc_pwm_L = constrain(rc_pwm_L--, 0, 2000);      
      rc_pwm_R = constrain(rc_pwm_R++, 0, 2000);
      RovServo[0].write(rc_pwm_L);    //좌측모터 출력 감소
      RovServo[2].write(rc_pwm_R);    //우측모터 출력 증가
      Serial.println("Left=");
      Serial.println(rc_pwm_L);
      Serial.println("Right=");
      Serial.println(rc_pwm_R);
    }
    //우회전
    if( ch == 'd' )
    {
      rc_pwm_L = constrain(rc_pwm_L++, 0, 2000);
      rc_pwm_R = constrain(rc_pwm_R--, 0, 2000);
      RovServo[0].write(rc_pwm_L);   // 좌측모터 출력 증가
      RovServo[2].write(rc_pwm_R);    //우측모터 출력 감소
      Serial.println("Left=");
      Serial.println(rc_pwm_L);
      Serial.println("Right=");
      Serial.println(rc_pwm_R);
    }
    //상단모터 가속
    if( ch == 'q' )
    {
      rc_pwm_T = constrain(rc_pwm_T++, 0, 2000);
      RovServo[1].write(rc_pwm_T);  
      Serial.println("Top=");
      Serial.println(rc_pwm_T);
    }
    //상단모터 감속
    if( ch == 'e' )
    {
      rc_pwm_T = constrain(rc_pwm_T--, 0, 2000);
      RovServo[1].write(rc_pwm_T);   
      Serial.println("Top=");
      Serial.println(rc_pwm_T);
    }
  }

}

#include <Servo.h> 
 

#define USE_RC_SETUP  0

#define RC_MOTOR_L    0
#define RC_MOTOR_C    1
