lib/ST7789_SPI/ST7789_SPI.cpp
// Constructor when using hardware SPI.  Faster, but must use SPI pins
// specific to each board type (e.g. 11,13 for Uno, 51,52 for Mega, etc.)
Constructor when using hardware SPI.  Faster, but must use SPI pins
specific to each board type
Constructor when using hardware SPI . Faster but must use SPI pins specific to each board type
ST7789_SPI::ST7789_SPI(int8_t cs, int8_t dc, int8_t rst) : DisplayDriver(ST7789_TFTWIDTH, ST7789_TFTHEIGHT)
{
  _cs = cs;
  _dc = dc;
  _rst = rst;
  hwSPI = true;
  _mosi = _sclk = 0;
}
ST7789_SPI :: ST7789_SPI ( int8_t cs , int8_t dc , int8_t rst ) : DisplayDriver ( ST7789_TFTWIDTH , ST7789_TFTHEIGHT ) { _cs = cs ; _dc = dc ; _rst = rst ; hwSPI = true ; _mosi = _sclk = 0 ; }
Constructor when using hardware SPI.
Constructor when using hardware SPI .