private void StopMotor(int port) { brick.BrickPi.Motor[port].Speed = 0; brick.BrickPi.Motor[port].Enable = 0; }