docs: def find_microbit():
      """
      Returns a tuple representation of the port and serial number for a
      connected micro:bit device. If no device is connected the tuple will be
      (None, None).
      """
      ports = list_serial_ports()
      for port in ports:
          if "VID:PID=0D28:0204" in port[2].upper():
              return (port[0], port.serial_number)
      return (None, None)