   else
   if (cmd == 'p') power();
   else
-  if (cmd == 's') servo();
+  if (cmd == 's') servo_maestro();
   else
   if (cmd == 'b') battery();
   else
-  if (cmd == 'v') Serial.println("v5");
+  if (cmd == 'v') Serial.println("v7");
   else
   if (cmd == 'r') _read();
   else


//=======================================

// ex: sp00110 - set servo 00 to the minimum position
// ex: sp15470 - set servo 15 to the maximum position
void servo()
{
  uint8_t n;
  uint16_t pulse;
  
  cmd = buf[1];
  
  if (cmd == 'p') // servo pulse
  {
    n = bctoi(2, 2);
    pulse = bctoi16(4, 3);
    if (n > 15) err();
    else pwm.setPWM(n, 0, pulse);
  }
  else
  {

  // unused pins
  pinMode(LED_PIN, OUTPUT);
  digitalWrite(LED_PIN, LOW);
  pinMode(4, INPUT_PULLUP);
  pinMode(5, INPUT_PULLUP);
  pinMode(6, INPUT_PULLUP);
