   
 
   pinMode(BTN_PIN,INPUT);
-
   pinMode(LED_PIN,OUTPUT);
+  pinMode(SERVO_PIN, OUTPUT);
+  pinMode(POT_PIN, INPUT);
   digitalWrite( LED_PIN, LOW );
   
   // Init. and start BLE library.
   ble_begin();
-  
+    
   // Enable serial debug
   Serial.begin(57600);
 }

    }
  }

  delay(10);
  


unsigned char len = 0;
String command;
int buttonState = 0;
int potVal = 0;

void loop()
{
