text: # SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams for Adafruit Industries
  # SPDX-FileCopyrightText: 2020 Foamyguy for Adafruit Industries
  #
  # SPDX-License-Identifier: MIT
  
  """
  `adafruit_featherwing.tft_featherwing_35`
  ====================================================
  
  Helper for using the `TFT FeatherWing 3.5"`
  <https://www.adafruit.com/product/3651>`_.
  
  * Author(s): Melissa LeBlanc-Williams, Foamyguy
  
  Requires:
  * adafruit_hx8357
  * adafruit_stmpe610
  """
  
  __version__ = "0.0.0-auto.0"
  __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git"
  
  from adafruit_hx8357 import HX8357
  from adafruit_featherwing.tft_featherwing import TFTFeatherWing
  
  try:
      from typing import Optional
      from busio import SPI
      from microcontroller import Pin
  except ImportError:
      pass
  
  
  # pylint: disable-msg=too-few-public-methods, too-many-arguments
  class TFTFeatherWing35(TFTFeatherWing):
      """Class representing an `TFT FeatherWing 3.5
      <https://www.adafruit.com/product/3651>`_.
  
      """
  
      def __init__(
          self,
          spi: Optional[SPI] = None,
          cs: Optional[Pin] = None,
          dc: Optional[Pin] = None,
          ts_cs: Optional[Pin] = None,
          sd_cs: Optional[Pin] = None,
      ):
          super().__init__(spi, cs, dc, ts_cs, sd_cs)
          self.display = HX8357(self._display_bus, width=480, height=320)
  