lib/ST7789_SPI/ST7789_SPI.cpp
// Constructor when using software SPI.  All output pins are configurable.
Constructor when using software SPI.  All output pins are configurable.
Constructor when using software SPI . All output pins are configurable .
ST7789_SPI::ST7789_SPI(int8_t cs, int8_t dc, int8_t mosi,
                       int8_t sclk, int8_t rst, int8_t miso) : DisplayDriver(ST7789_TFTWIDTH, ST7789_TFTHEIGHT)
{
  _cs = cs;
  _dc = dc;
  _mosi = mosi;
  _miso = miso;
  _sclk = sclk;
  _rst = rst;
  hwSPI = false;
}
ST7789_SPI :: ST7789_SPI ( int8_t cs , int8_t dc , int8_t mosi , int8_t sclk , int8_t rst , int8_t miso ) : DisplayDriver ( ST7789_TFTWIDTH , ST7789_TFTHEIGHT ) { _cs = cs ; _dc = dc ; _mosi = mosi ; _miso = miso ; _sclk = sclk ; _rst = rst ; hwSPI = false ; }
Constructor when using software SPI.
Constructor when using software SPI .