 
 void setup() {
   pinMode(LED_BUILTIN, OUTPUT);
+  pinMode(FISHING_POND_MOTOR_NOT_SHUTDOWN, OUTPUT);
+  digitalWrite(FISHING_POND_MOTOR_NOT_SHUTDOWN, LOW); // turn off pond when starting
   //  pinMode(3, INPUT);
   Serial.begin(115200);
   theta.attach(12);

  }
  if (Serial.readBytes(bytes, 3) < 3)
    return;
  bool disable = bytes[0];
  int thetaDeg = bytes[1];
  int zDeg = bytes[2];
  if (disable) {
    disabled = true;
    theta.detach();
    z.detach();
    digitalWrite(LED_BUILTIN, LOW);
  } else {
    if (disabled) {
      theta.attach(12);
      z.attach(9);
      disabled = false;
      digitalWrite(LED_BUILTIN, HIGH);
    }
    theta.write(thetaDeg);
    z.write(zDeg);
  }
}

Servo z;
//union Adc {unsigned int adcVal; byte adcBuf[2];};
//union Adc adc;
const int FISHING_POND_MOTOR_NOT_SHUTDOWN = 11; // goes to not shutdown pin on LP38841T-1.5 regulator
const byte CMD_SET_SERVOS = 0, CMD_DISABLE_SERVOS = 1, CMD_RUN_POND = 2, CMD_STOP_POND = 3;

int adcVal;

