docs: def get_port(self, baud_rate):
          '''
          Using the specified baud-rate, attempt to connect to each available
          serial port.  If the `test_connection()` method returns `True` for a
          port, update the `port` attribute and return the port.
  
          In the case where the `test_connection()` does not return `True` for
          any of the evaluated ports, raise a `ConnectionError`.
          '''
          self.port = None
  
          for test_port in get_serial_ports():
              if self.test_connection(test_port, baud_rate):
                  self.port = test_port
                  break
              sleep(0.1)
  
          if self.port is None:
              raise ConnectionError('Could not connect to serial device.')
  
          return self.port